home *** CD-ROM | disk | FTP | other *** search
- -- Part of SmallEiffel -- Read DISCLAIMER file -- Copyright (C)
- -- Dominique COLNET and Suzanne COLLIN -- colnet@loria.fr
- --
- class TEST_RENAME4
-
- creation make
-
- feature
-
- make is
- local
- aux_rename4a: AUX_RENAME4A;
- aux_rename4b: AUX_RENAME4B;
- aux_rename4c: AUX_RENAME4C;
- do
- !!aux_rename4c.make;
- aux_rename4a := aux_rename4c;
- aux_rename4b := aux_rename4c;
-
- is_true(aux_rename4a.mema = aux_rename4b.memb);
- is_true(aux_rename4a.mema = aux_rename4c.memc);
-
- is_true(aux_rename4b.memb = aux_rename4a.mema);
- is_true(aux_rename4b.memb = aux_rename4c.memc);
-
- is_true(aux_rename4c.memc = aux_rename4a.mema);
- is_true(aux_rename4c.memc = aux_rename4b.memb);
- end;
-
- feature {NONE}
-
- is_true(b: BOOLEAN) is
- do
- cpt := cpt + 1;
- if not b then
- std_output.put_string("TEST_RENAME4: ERROR Test # ");
- std_output.put_integer(cpt);
- std_output.put_string("%N");
- else
- -- std_output.put_string("Yes%N");
- end;
- end;
-
- cpt: INTEGER;
-
- end -- TEST_RENAME4
-
-