/[eiffelstudio]/trunk/eweasel/tests/rdtp003/test_tilde.e
ViewVC logotype

Contents of /trunk/eweasel/tests/rdtp003/test_tilde.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86987 - (show annotations)
Thu Aug 11 21:49:58 2011 UTC (8 years, 3 months ago) by manus
File size: 215 byte(s)
New test similar to rdtp001 except that it ensures that the implementation of `is_equivalent' from AST_EIFFEL is correct by comparing the result of two parsings of the same class and verifying they are indeed equivalent.

1 class
2 TEST_TILDE
3
4 feature
5
6 make is
7 do
8 if a ~ b then
9 end
10 if a /~ b then
11 end
12 if io.last_string ~ io.last_character then
13 end
14 if equal (True, False) ~ equal (False, True) then
15 end
16 end
17
18 end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23