NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13U.S. Department of Commerce, National Bureau of Standards, 1980 |
From inside the book
Page 42
... tests is simple : the test is invoked with a variety of argument returned value is compared to the correct result . are equal , the test passes , otherwise it fails . displayed for your inspection and the tests are self - checking . The ...
... tests is simple : the test is invoked with a variety of argument returned value is compared to the correct result . are equal , the test passes , otherwise it fails . displayed for your inspection and the tests are self - checking . The ...
Page 44
... passing sequence is generated . In order to measure the quality of implementation , you can run the programs with a RANDOMIZE statement in the beginning and then observe how often the test passes or fails . Note that , if you use ...
... passing sequence is generated . In order to measure the quality of implementation , you can run the programs with a RANDOMIZE statement in the beginning and then observe how often the test passes or fails . Note that , if you use ...
Page 46
... test tries out various lengthy expressions , using the full generality allowed by the standard , and assigns the resulting value to a variable . As usual , if this value is even approximately correct , the test passes , since we are ...
... test tries out various lengthy expressions , using the full generality allowed by the standard , and assigns the resulting value to a variable . As usual , if this value is even approximately correct , the test passes , since we are ...
Page 6
... TEST PASSED IF THE ABOVE SPECIFICATIONS WERE MET *** " 640 PRINT 650 PRINT " 660 PRINT END TEST . " 670 PRINT " SECTION 1.3 : SPACES IN QUOTED STRINGS . " 690 PRINT 700 PRINT " 710 PRINT 11 720 PRINT 730 PRINT " 740 PRINT BEGIN TEST ...
... TEST PASSED IF THE ABOVE SPECIFICATIONS WERE MET *** " 640 PRINT 650 PRINT " 660 PRINT END TEST . " 670 PRINT " SECTION 1.3 : SPACES IN QUOTED STRINGS . " 690 PRINT 700 PRINT " 710 PRINT 11 720 PRINT 730 PRINT " 740 PRINT BEGIN TEST ...
Page 8
... TEST PASSED IF THE ABOVE SPECIFICATIONS WERE MET *** END TEST . SECTION 1.3 : SPACES IN QUOTED STRINGS . BEGIN TEST ... PASSES IF ' END PROGRAM 2 ' IS THE LAST OUTPUT " 120 PRINT 125 PRINT " 130 PRINT GENERATED BY THIS PROGRAM ...
... TEST PASSED IF THE ABOVE SPECIFICATIONS WERE MET *** END TEST . SECTION 1.3 : SPACES IN QUOTED STRINGS . BEGIN TEST ... PASSES IF ' END PROGRAM 2 ' IS THE LAST OUTPUT " 120 PRINT 125 PRINT " 130 PRINT GENERATED BY THIS PROGRAM ...
Other editions - View all
Common terms and phrases
15 PRINT 20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURATELY DESCRIBING ANSI STANDARD 7.2 APPROPRIATE ERROR MESSAGE ARGUMENT ASSIGNED BASIC TEST PROGRAMS COMPUTED DATA DESCRIBING THE FEATURE'S DETAILED CRITERIA DIM-STATEMENT DISPLAYED DIVISION BY ZERO END END TEST END PROGRAM FILE EXRAD FEATURE OF MINIMAL FEATURE'S INTERPRETATION FOR-STATEMENT GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST PASSED INPUT INPUT-REPLY LINE NUMBER LINE-NUMBERS MACHINE INFINITY MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NON-STANDARD FEATURE NUMERIC EXPRESSIONS OK OK OK ON-GOTO OPTION BASE PASS THIS TEST PRINT 40 PRINT PRINT BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT FOR DETAILED PRINT PROGRAM FILE PRINT THIS PROGRAM PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM TESTS PROGRAMS USER'S MANUAL QUOTED STRINGS READ REFS REJECT THE PROGRAM REM SUBROUTINE RND FUNCTION SECTION TESTS SIGNIFICAND STATEMENT TEST IS INFORMATIVE TEST OK TEST PROGRAMS USER'S UNDERFLOW USER-DEFINED FUNCTION