Files
mercury/tests/hard_coded/write_reg1.exp5
Julien Fischer 1af897ba3a Fix more test failures in the C# and Java grades.
tests/hard_coded/Mmakefile:
     Filter the Java and C# stack traces from the output of the no_fully_strict
     test case.

tests/hard_coded/lexer_zero.exp3:
tests/hard_coded/write_reg1.exp5:
     Alternative expected outputs due to difference in how floats are
     printed.
2016-02-19 12:48:34 +11:00

41 lines
470 B
Plaintext

TESTING DISCRIMINATED UNIONS
one
two
three
apple([9, 5, 1])
banana([three, one, two])
zop(3.3, 2.03)
zip(3, 2)
zap(3, -2.111)
wombat
foo
TESTING POLYMORPHISM
poly_one([2399.3])
poly_two(3)
poly_three(3.33, 4, poly_one(9.11))
TESTING BUILTINS
""
"Hello, world\n"
"Foo%sFoo"
"\""
'a'
'&'
3.14159
1.128324983E-21
2.23954899E+23
-65
4
univ_cons(["hi! I\'m a univ!"])
'<<predicate>>'
'<<predicate>>'
TESTING OTHER TYPES
var(1)
var_supply(0)
var_supply(1)
empty
qwerty(4)