1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
note
description: "[
Eiffel tests that can be executed by testing tool.
]"
author: "EiffelStudio test wizard"
date: "$Date$"
revision: "$Revision$"
testing: "type/manual"
class
TEST_ACCOUNT
inherit
EQA_TEST_SET
feature -- Test routines
CREATE_EDIT_ACCOUNT
local
person1: PERSON
person2: PERSON
account: ACCOUNT
cre: ARRAY[REAL_64]
deb_rng: ARRAY[REAL_64]
dep_rng: ARRAY[REAL_64]
do
create person1.make ("SOME_SURNAME_1", "SOME_FIRSTNAME_1")
create person2.make ("SOME_SURNAME_2", "SOME_FIRSTNAME_2")
create cre.make_filled (0.0, 0, 1)
cre.put (-100.0, 0)
cre.put (-50.0, 1)
create deb_rng.make(0,1)
deb_rng.put (0.1, 0)
deb_rng.put (2.2, 1)
create dep_rng.make(0,1)
dep_rng.put (0.1, 0)
dep_rng.put (2.2, 1)
create account.make (person1, 1.0, 2.0, -50.0, deb_rng, dep_rng, cre)
account.add_authorized_signer (person2)
--assert ("not_implemented", False)
end
end
|