RosettaCodeData/Task/Assertions/Eiffel/assertions-2.e

9 lines
155 B
Plaintext

class TEST
feature assert(val: INTEGER) is
require
val = 42;
do
print("Thanks for the 42!%N");
end
end