blob: 970af0f0abd2f67d5a945d4e83e16e79a598c7da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
start test test_do failure
++ >>
++ >>=
++ fail
-- fail
-- >>=
-- >>
end test test_do failure
start test test_do success
++ >>
++ >>=
++ return
-- return
-- >>=
-- >>
end test test_do success
start test test_fromInteger
135
end test test_fromInteger
start test test_fromRational
189 % 2
end test test_fromRational
start test test_negate
15
end test test_negate
start test test_fromInteger_pattern 1
1=5
end test test_fromInteger_pattern 1
start test test_fromInteger_pattern (-2)
(-2)=10
end test test_fromInteger_pattern (-2)
start test test_fromInteger_pattern 9
(a + 7)=35
end test test_fromInteger_pattern 9
start test test_fromRational_pattern 0.5
0.5=3 % 2
end test test_fromRational_pattern 0.5
start test test_fromRational_pattern (-0.7)
(-0.7)=21 % 10
end test test_fromRational_pattern (-0.7)
start test test_fromRational_pattern 1.7
_=51 % 10
end test test_fromRational_pattern 1.7
|