/[eiffelstudio]/trunk/eweasel/tests/fake005/test_rev20.e
ViewVC logotype

Contents of /trunk/eweasel/tests/fake005/test_rev20.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 83955 - (show annotations)
Tue Jul 20 04:53:35 2010 UTC (9 years, 6 months ago) by manus
File size: 482 byte(s)
Updated tests to reflect the now obsolete feature {ARRAY}.make which has to be replaced by either `make_empty' or `make_filled'.

1
2 --| Copyright (c) 1993-2006 University of Southern California and contributors.
3 --| All rights reserved.
4 --| Your use of this work is governed under the terms of the GNU General
5 --| Public License version 2.
6
7 class TEST
8
9 creation
10 make
11 feature
12
13 make is
14 do
15 create a.make_filled (47, 1, 1);
16 a.put (47, 1);
17 ensure then
18 valid_array: a.item (1) = (old +47.0).rounded;
19 valid_array2: a.item (1) = (old (+47.0)).truncated_to_integer;
20 end
21
22 a: ARRAY [INTEGER];
23
24 end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23