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