PROGRAM FILE 24: PLUS AND MINUS                                                 
    ANSI STANDARD 7.2, 7.4                                                      
                                                                                
THIS PROGRAM TESTS THE GROSS SEMANTIC CHARACTERISTICS OF                        
THE PLUS AND MINUS OPERATORS FOR THE CONSTRUCTION OF                            
NUMERIC EXPRESSIONS.                                                            
                                                                                
EXPRESSIONS USING ONLY ONE OPERATOR AND CONSTANTS AND                           
SIMPLE VARIABLES ARE EVALUATED, AND THE RESULTS TESTED                          
AGAINST THE CORRECT VALUE. CONSTANTS ARE EXPRESSED IN                           
NR1, NR2, AND NR3 FORM, BUT ARE GENERALLY RESTRICTED TO                         
INTEGER VALUES TO AVOID ACCURACY PROBLEMS (ACCURACY IS                          
ADDRESSED IN LATER TESTS).                                                      
                                                                                
                                                                                
SECTION 24.1: UNARY MINUS                                                       
                                                                                
               BEGIN TEST                                                       
                                                                                
                                                                                
*** TEST PASSED  ***                                                            
                                                                                
                END TEST                                                        
                                                                                
                                                                                
SECTION 24.2: UNARY PLUS                                                        
                                                                                
               BEGIN TEST                                                       
                                                                                
                                                                                
*** TEST PASSED  ***                                                            
                                                                                
                END TEST                                                        
                                                                                
                                                                                
SECTION 23.3: ADDITION                                                          
                                                                                
               BEGIN TEST                                                       
                                                                                
CASE #         SHOULD BE      ACTUAL         OUTCOME                            
                                                                                
1               9              9             TEST PASSES                        
2               66             66            TEST PASSES                        
3               2302           2302          TEST PASSES                        
4               121            121           TEST PASSES                        
5              -132           -132           TEST PASSES                        
6               21             21            TEST PASSES                        
7              -220           -220           TEST PASSES                        
8               102            102           TEST PASSES                        
9               152            152           TEST PASSES                        
10              0              0             TEST PASSES                        
11             -22            -22            TEST PASSES                        
12             -44            -44            TEST PASSES                        
                                                                                
*** TEST PASSED  ***                                                            
                                                                                
                END TEST                                                        
                                                                                
                                                                                
SECTION 24.4: SUBTRACTION                                                       
                                                                                
               BEGIN TEST                                                       
                                                                                
CASE #         SHOULD BE      ACTUAL         OUTCOME                            
                                                                                
1               19             19            TEST PASSES                        
2              -599           -599           TEST PASSES                        
3              -245           -245           TEST PASSES                        
4               37             37            TEST PASSES                        
5              -37            -37            TEST PASSES                        
6               347            347           TEST PASSES                        
7              -456           -456           TEST PASSES                        
8              -1332          -1332          TEST PASSES                        
9               1233           1233          TEST PASSES                        
10              0              0             TEST PASSES                        
11             -22            -22            TEST PASSES                        
12              0              0             TEST PASSES                        
                                                                                
*** TEST PASSED  ***                                                            
                                                                                
                END TEST                                                        
                                                                                
                                                                                
END PROGRAM 24                                                                  
                                                                                
Program interrupted at line 6020                                                
