diff options
Diffstat (limited to 'test/pamarith.ok')
-rw-r--r-- | test/pamarith.ok | 99 |
1 files changed, 97 insertions, 2 deletions
diff --git a/test/pamarith.ok b/test/pamarith.ok index 782637d3..0862df8e 100644 --- a/test/pamarith.ok +++ b/test/pamarith.ok @@ -49,6 +49,11 @@ P2 16 1 2 0 0 1 2 2 2 2 2 2 2 2 2 2 2 2 2 196115582 58 196115582 58 196115582 58 +-equal +P2 16 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 +4168278327 58 +4168278327 58 +4168278327 58 -and P2 16 1 15 0 0 2 2 0 0 2 2 0 0 2 2 0 0 2 2 3660405045 59 @@ -107,6 +112,8 @@ P1 8 1 00000101 P1 8 1 00000101 -compare P2 8 1 2 1 0 1 0 2 1 2 1 +-equal +P1 8 1 01011010 -and P1 8 1 01011111 -or @@ -121,7 +128,71 @@ P1 8 1 10100101 P1 8 1 11110101 -shiftright P1 8 1 11110101 -Test 3 (input = output) +Test 3 +-add +2442291770 913 +2442291770 913 +2442291770 913 +-multiply +3074858461 913 +3074858461 913 +3074858461 913 +-difference +3788637303 913 +3788637303 913 +3788637303 913 +-minimum +2046561746 913 +2046561746 913 +2046561746 913 +-maximum +3724820523 913 +3724820523 913 +3724820523 913 +-mean +5885382 913 +5885382 913 +5885382 913 +-equal +780857755 911 +780857755 911 +780857755 911 +-and +889537755 913 +889537755 913 +889537755 913 +-or +2466056482 913 +2466056482 913 +2466056482 913 +-nand +3743732043 913 +3743732043 913 +3743732043 913 +-nor +2027723954 913 +2027723954 913 +2027723954 913 +-xor +291709067 913 +291709067 913 +291709067 913 +-subtract +3705429820 913 +3705429820 913 +-divide +2136905608 913 +2136905608 913 +-compare +1563790885 911 +1563790885 911 +-shiftleft +51480286 913 +51480286 913 +-shiftright +3072492814 913 +3072492814 913 +Test 4 (input = output) cksum is 2425386270 41 or 2921940274 59 input image 2425386270 41 @@ -147,7 +218,7 @@ input image 2921940274 59 -or 2921940274 59 -Test 4 (blank output) +Test 5 (blank output) cksum is 2817549367 41 or 320101399 59 -subtract 2817549367 41 @@ -180,3 +251,27 @@ Expected failure 15 1 Expected failure 16 1 Expected failure 17 1 Expected failure 18 1 +Expected failure 19 1 +Expected failure 20 1 +Expected failure 21 1 +Expected failure 22 1 +Expected failure 23 1 +Expected failure 24 1 +Expected failure 25 1 +Expected failure 26 1 +Expected failure 27 1 +Expected failure 28 1 +Expected failure 29 1 +Expected failure 30 1 +Expected failure 31 1 +Expected failure 32 1 +Expected failure 33 1 +Expected failure 34 1 +Expected failure 35 1 +Expected failure 36 1 +Expected failure 37 1 +Expected failure 38 1 +Expected failure 39 1 +Expected failure 40 1 +Expected failure 41 1 +Expected failure 42 1 |