PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/test/language/unclassified/alg/test_alg11.e

http://github.com/tybor/Liberty
Specman e | 66 lines | 32 code | 12 blank | 22 comment | 0 complexity | 4498f9bea03cfb799c07d749938c6af2 MD5 | raw file
 1-- This file is part of SmartEiffel The GNU Eiffel Compiler Tools and Libraries.
 2-- See the Copyright notice at the end of this file.
 3--
 4class TEST_ALG11
 5   -- From a bug report of Alain Le Guennec <Alain.Le_Guennec@irisa.fr>
 6
 7create {}
 8   make
 9
10feature {ANY}
11   t: AUX_ALG11T
12
13   u: AUX_ALG11U
14
15   v: AUX_ALG11V
16
17   w: AUX_ALG11W
18
19   ta: ARRAY[ANY]
20
21   tt: ARRAY[AUX_ALG11T]
22
23   tu: ARRAY[AUX_ALG11U]
24
25   tv: ARRAY[AUX_ALG11V]
26
27   tw: ARRAY[AUX_ALG11W]
28
29   make
30      do
31         create t
32         create u
33         create v
34         create w
35         tt := {ARRAY[AUX_ALG11V] 1, << v >> }
36         tu := {ARRAY[AUX_ALG11W] 1, << w >> }
37         tv := {ARRAY[AUX_ALG11V] 1, << v >> }
38         tw := {ARRAY[AUX_ALG11W] 1, << w >> }
39         tt := {ARRAY[AUX_ALG11T] 1, << v, t >> }
40         tu := {ARRAY[AUX_ALG11U] 1, << u, w >> }
41         tu := {ARRAY[AUX_ALG11U] 1, << w, v >> }
42         tu := {ARRAY[AUX_ALG11U] 1, << v, w >> }
43         tt := {ARRAY[AUX_ALG11T] 1, << w, v >> }
44         tt := {ARRAY[AUX_ALG11T] 1, << v, w >> }
45         ta := {ARRAY[AUX_ALG11T] 1, << t >> }
46      end
47
48end -- class TEST_ALG11
49--
50-- ------------------------------------------------------------------------------------------------------------------------------
51-- Copyright notice below. Please read.
52--
53-- SmartEiffel is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License,
54-- as published by the Free Software Foundation; either version 2, or (at your option) any later version.
55-- SmartEiffel is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty
56-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have
57-- received a copy of the GNU General Public License along with SmartEiffel; see the file COPYING. If not, write to the Free
58-- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
59--
60-- Copyright(C) 1994-2002: INRIA - LORIA (INRIA Lorraine) - ESIAL U.H.P.       - University of Nancy 1 - FRANCE
61-- Copyright(C) 2003-2006: INRIA - LORIA (INRIA Lorraine) - I.U.T. Charlemagne - University of Nancy 2 - FRANCE
62--
63-- Authors: Dominique COLNET, Philippe RIBET, Cyril ADRIAN, Vincent CROIZIER, Frederic MERIZEN
64--
65-- http://SmartEiffel.loria.fr - SmartEiffel@loria.fr
66-- ------------------------------------------------------------------------------------------------------------------------------