home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / SmallEiffel 0.3.3 / SmallEiffel 68k / lib_test / test_eval14.e < prev    next >
Encoding:
Text File  |  1996-06-13  |  450 b   |  34 lines  |  [TEXT/EDIT]

  1. -- Part of SmallEiffel -- Read DISCLAIMER file -- Copyright (C) 
  2. -- Dominique COLNET and Suzanne COLLIN -- colnet@loria.fr
  3. --
  4. class TEST_EVAL14
  5.  
  6. creation make
  7.    
  8. feature 
  9.    
  10.    make is
  11.       local
  12.      s: STRING;
  13.       do
  14.      s := foo;
  15.      check
  16.         s = foo;
  17.         not (s /= foo);
  18.      end;
  19.      check
  20.         one = 1;
  21.      end;
  22.      check
  23.         yes = true;
  24.      end;
  25.       end;
  26.  
  27.    foo: STRING is "foo";
  28.  
  29.    one: INTEGER is 1;
  30.  
  31.    yes: BOOLEAN is true;
  32.  
  33. end -- TEST_EVAL14
  34.