forked from openmainframeproject/cobol-check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
approval-test-actual.txt
134 lines (130 loc) · 9.4 KB
/
approval-test-actual.txt
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
TESTSUITE:
Verify Cobol Check handles numeric relations properly
PASS: 1. Equal sign with literal compare
**** FAIL: 2. Equal sign with literal compare (should fail)
EXPECTED +00000000025.7500000, WAS +00000000025.7400000
PASS: 3. Not equal sign with literal compare
**** FAIL: 4. Not equal sign with literal compare (should fail)
EXPECTED +00000000025.7400000, WAS +00000000025.7400000
PASS: 5. Not-equal sign with literal compare
**** FAIL: 6. Not-equal sign with literal compare (should fail)
EXPECTED +00000000013.6000000, WAS +00000000013.6000000
PASS: 7. Not not-equal sign with literal compare
**** FAIL: 8. Not not-equal sign with literal compare (should fail)
EXPECTED +00000000013.6000000, WAS +00000000013.7000000
PASS: 9. Equal sign with ield compare
**** FAIL: 10. Equal sign with field compare (should fail)
EXPECTED +00000000025.7500000, WAS +00000000025.7400000
PASS: 11. Not equal sign with field compare
**** FAIL: 12. Not equal sign with field compare (should fail)
EXPECTED +00000000025.7400000, WAS +00000000025.7400000
PASS: 13. Not-equal sign with field compare
**** FAIL: 14. Not-equal sign with field compare (should fail)
EXPECTED +00000000025.7400000, WAS +00000000025.7400000
PASS: 15. Not not-equal sign with field compare
**** FAIL: 16. Not not-equal sign with field compare (should fail)
EXPECTED +00000000025.7400000, WAS +00000000025.7500000
PASS: 17. Less-than sign with literal compare
**** FAIL: 18. Less-than sign with literal compare (should fail)
EXPECTED +00000000018.0660000, WAS +00000000018.0670000
PASS: 19. Not less-than sign with literal compare
**** FAIL: 20. Not less-than sign with literal compare (should fail)
EXPECTED +00000000018.0670000, WAS +00000000018.0660000
PASS: 21. Less-than sign with field compare
**** FAIL: 22. Less-than sign with field compare (should fail)
EXPECTED +00000000416.0720000, WAS +00000000416.0720000
PASS: 23. Not less-than sign with field compare
**** FAIL: 24. Not less-than sign with field compare (should fail)
EXPECTED +00000000416.0720000, WAS +00000000416.0710000
PASS: 25. Greater-than sign with literal compare
**** FAIL: 26. Greater-than sign with literal compare (should fail)
EXPECTED +00000000010.0000000, WAS +00000000009.8050000
PASS: 27. Not greater-than sign with literal compare
**** FAIL: 28. Not greater-than sign with literal compare (should fail)
EXPECTED +00000000107.7010000, WAS +00000000107.7020000
PASS: 29. Greater-than sign with field compare
**** FAIL: 30. Greater-than sign with field compare (should fail)
EXPECTED +00000001766.0314400, WAS +00000001766.0314300
PASS: 31. Not greater-than sign with field to field compare
**** FAIL: 32. Not greater-than sign with field compare (should fail)
EXPECTED +00000001766.0314400, WAS +00000001766.0314500
PASS: 33. Greater-than-or-equal-to sign with literal compare when greater
PASS: 34. Greater-than-or-equal-to sign with literal compare when equal
**** FAIL: 35. Greater-than-or-equal-to sign with literal compare (should fail)
EXPECTED +00000000010.0000000, WAS +00000000009.8050000
PASS: 36. Not greater-than-or-equal-to sign with literal compare when less
**** FAIL: 37. Not greater-than-or-equal-to sign with literal compare when equal (should fail)
EXPECTED +00000000018.0670000, WAS +00000000018.0670000
**** FAIL: 38. Greater-than-or-equal-to sign with literal compare when greater (should fail)
EXPECTED +00000000013.4400000, WAS +00000000013.4500000
PASS: 39. Greater-than-or-equal-to-sign with field compare when equal
PASS: 40. Greater-than-or-equal-to-sign with field compare when greater
**** FAIL: 41. Greater-than-or-equal-to-sign with field compare when less (should fail)
EXPECTED +00000000475.0620000, WAS +00000000475.0610000
PASS: 42. Not greater-than-or-equal-to-sign with field compare when less
**** FAIL: 43. Not greater-than-or-equal-to-sign with field compare when equal (should fail)
EXPECTED +00000000475.0620000, WAS +00000000475.0620000
**** FAIL: 44. Not greater-than-or-equal-to-sign with field compare when greater (should fail)
EXPECTED +00000000475.0620000, WAS +00000000475.0630000
PASS: 45. Less-than-or-equal-to-sign with field compare when equal
PASS: 46. Less-than-or-equal-to-sign with field compare when less
**** FAIL: 47. Less-than-or-equal-to-sign with field compare when greater (should fail)
EXPECTED +00000000475.0620000, WAS +00000000475.0630000
PASS: 48. Not less-than-or-equal-to-sign with field compare when greater
**** FAIL: 49. Not greater-than-or-equal-to-sign with field compare when equal (should fail)
EXPECTED +00000000475.0620000, WAS +00000000475.0620000
**** FAIL: 50. Not greater-than-or-equal-to-sign with field compare when less (should fail)
EXPECTED +00000000475.0630000, WAS +00000000475.0620000
PASS: 51. Display Numeric field equals literal
51 TEST CASES WERE EXECUTED
26 PASSED
25 FAILED
=================================================
TESTSUITE:
Tests of alphanumeric expectations
PASS: 1. Equality with an alphanumeric literal using TO BE
PASS: 2. Equality with an alphanumeric literal using TO EQUAL
PASS: 3. Equality with an alphanumeric literal using '='
PASS: 4. Equality with an alphanumeric literal and reference modification
PASS: 5. Non-equality with an alphanumeric literal using TO BE
PASS: 6. Non-equality with an alphanumeric literal using TO EQUAL
PASS: 7. Non-equality with an alphanumeric literal using '!='
PASS: 8. Non-equality with an alphanumeric literal and reference modification
PASS: 9. Greater-than sign with an alphanumeric literal
PASS: 10. Less-than sign with an alphanumeric literal
PASS: 11. Not greater-than sign with an alphanumeric literal
PASS: 12. Not less-than sign with an alphanumeric literal
PASS: 13. Display numeric
13 TEST CASES WERE EXECUTED
13 PASSED
0 FAILED
=================================================
TESTSUITE:
Greeting returns the appropriate message based on message type
**** FAIL: 1. When message type is greeting it returns 'Hello, World!'
EXPECTED <Hello, World!>, WAS <Hello, World !>
PASS: 2. try numerical compare
**** FAIL: 3. try 88 level compare
EXPECTED <FALSE>, WAS <TRUE>
PASS: 4. When message type is farewell it returns See you later, alligator!
**** FAIL: 5. Message type greeting is not true
EXPECTED <FALSE>, WAS <TRUE>
TESTSUITE:
Greeting includes the user name when it is provided
**** FAIL: 6. When message type is greeting it returns Hello, James!
EXPECTED <Hello, James!>, WAS <Hello, James !>
**** FAIL: 7. When message type is farewell it returns Goodbye, James!
EXPECTED <Goodbye, James!>, WAS <See you later, James !>
PASS: 8. User name for greeting and farewell are consistent
8 TEST CASES WERE EXECUTED
3 PASSED
5 FAILED
=================================================
TESTSUITE:
Tests for a sequential file copy program
PASS: 1. Output fields are populated from the input record
PASS: 2. Output fields are populated from the input record
2 TEST CASES WERE EXECUTED
2 PASSED
0 FAILED
=================================================