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
Results 6-10 of 100
Page 41
... test passed then test passed else ( no pass message after entering zeros ) zeros not assigned to variables test failed ( recovery procedure not followed ) endif else ( not allowed to re - supply entire reply ) supply any non - zero ...
... test passed then test passed else ( no pass message after entering zeros ) zeros not assigned to variables test failed ( recovery procedure not followed ) endif else ( not allowed to re - supply entire reply ) supply any non - zero ...
Page 42
... failed a test . Because of these constraints , the non - exception tests in this group are informative only . We can , however , quite easily apply the ideas developed earlier in section 5.6.4 . As explained there , we can devise an ...
... failed a test . Because of these constraints , the non - exception tests in this group are informative only . We can , however , quite easily apply the ideas developed earlier in section 5.6.4 . As explained there , we can devise an ...
Page 43
... fail criterion , it too measures the quality of function evaluation independent of the function and argument under test . It does depend on the internal accuracy with which the implementation can represent numeric quantities : the ...
... fail criterion , it too measures the quality of function evaluation independent of the function and argument under test . It does depend on the internal accuracy with which the implementation can represent numeric quantities : the ...
Page 44
... test passes or fails . Note that , if you use RANDOMIZE , these programs should fail a certain proportion of the time since they are probabilistic tests . 5.12.3.2 Informative Tests These There are several desirable properties of a ...
... test passes or fails . Note that , if you use RANDOMIZE , these programs should fail a certain proportion of the time since they are probabilistic tests . 5.12.3.2 Informative Tests These There are several desirable properties of a ...
Page 64
... FAILED " 4580 IF T $ < > U $ THEN 4620 4590 LET R $ = " FAILED " 4600 LET L $ = " FAILED " 4610 LET B $ = " F * " 4620 GOSUB 4900 4625 GOSUB 5000 4630 RETURN 4900 REM SUBROUTINE TO PRINT COMPARANDS FOR VARIABLE : VARIABLE 4910 PRINT V ...
... FAILED " 4580 IF T $ < > U $ THEN 4620 4590 LET R $ = " FAILED " 4600 LET L $ = " FAILED " 4610 LET B $ = " F * " 4620 GOSUB 4900 4625 GOSUB 5000 4630 RETURN 4900 REM SUBROUTINE TO PRINT COMPARANDS FOR VARIABLE : VARIABLE 4910 PRINT V ...
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