/[eiffelstudio]/trunk/eweasel/tests/exec051/test1.e
ViewVC logotype

Annotation of /trunk/eweasel/tests/exec051/test1.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (hide annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years, 1 month ago) by manus
File size: 499 byte(s)
Moved from trunk/Src/eweasel to trunk/eweasel so that a simple checkout of the source code is not penalized by the lenghty process of checking out all the tests of eweasel.
1 manus 65296
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 TEST1
8     feature
9    
10     weasel: INTEGER is
11     require
12     show ("Precondition of weasel");
13     do
14     ensure
15     show ("Postcondition of weasel");
16     end
17    
18     show (s: STRING): BOOLEAN is
19     do
20     io.putstring (s);
21     io.new_line;
22     Result := True;
23     end;
24    
25     invariant
26     show ("Invariant of TEST1");
27     end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23