NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 1-5 of 100
Page 18
Since these programs are syntactically standard and raise no exception conditions , must be accepted and executed to completion by the implementation . If the implementation fails to do it has failed the test .
Since these programs are syntactically standard and raise no exception conditions , must be accepted and executed to completion by the implementation . If the implementation fails to do it has failed the test .
Page 23
At this point , the test may print information to help the user understand how execution proceeding . is Then comes the important part : a message , surrounded by asterisks , announcing " *** TEST PASSED *** " or 11 *** TEST FAILED ...
At this point , the test may print information to help the user understand how execution proceeding . is Then comes the important part : a message , surrounded by asterisks , announcing " *** TEST PASSED *** " or 11 *** TEST FAILED ...
Page 37
If the processor in some way rejects the reply , for instance by producing a message that it is a not a valid number , then the processor has failed the test since all the replies are in fact valid according to the standard .
If the processor in some way rejects the reply , for instance by producing a message that it is a not a valid number , then the processor has failed the test since all the replies are in fact valid according to the standard .
Page 41
... ( exactly enough to satisfy original INPUT request ) if processor responds that test passed then test passed else ( no pass message after entering zeros ) zeros not assigned to variables test failed ( recovery procedure not followed ) ...
... ( exactly enough to satisfy original INPUT request ) if processor responds that test passed then test passed else ( no pass message after entering zeros ) zeros not assigned to variables test failed ( recovery procedure not followed ) ...
Page 42
The structure of the tests is simple : the function under test is invoked with a variety of argument values and the returned value is compared to the correct result . If all results are equal , the test passes , otherwise it fails .
The structure of the tests is simple : the function under test is invoked with a variety of argument values and the returned value is compared to the correct result . If all results are equal , the test passes , otherwise it fails .
What people are saying - Write a review
We haven't found any reviews in the usual places.
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD APPROPRIATE ERROR MESSAGE ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS BEGIN TEST CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END PROGRAM FILE END TEST ENTER ERROR EVALUATION EXACT EXECUTION EXPECTED FOLLOWING FUNCTION GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST INPUT INPUT-REPLY ITEM LINE LOOP MEASURE MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NEGATIVE NON-STANDARD FEATURE NOTE NUMERIC EXPRESSIONS OCCUR OK OK OK operations ORDER OUTPUT OVERFLOW PASS THIS TEST POSITIVE PRINT 40 PRINT PRINT END PROGRAM PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO ОК ОК ОК