COMP 122 All Assignments COMP 122 All Assignments | Seite 14

cout < ( char ) 248 ;=""> Test Plan
Test cases are generally selected by analyzing the program and determining categories of inputs and outputs , then specifying at least one specific input value ( or set of input values ) for each category . Inputs for this program include the " selection ," or menu input , and integer values to generate a table ( start temperature , stop temperature and increment value ). Here is an outline of the categories :
Menu test cases should include all possible valid menu selections and at least one invalid menu selection . Table test cases should include
2.1 . Inputs that create tables with various numbers of rows
2.2 . At least one temperature that calculates to an exact whole number of degrees ( e . g ., 0 degrees degrees F ).
2.3 . Negative starting and ending temperatures .
2.4 . At least one temperature that calculates to a fractional number of degrees ( e . g ., -50 degrees degrees C ).
2.5 . Some common , easy to verify conversions , for example 2.5.1 . 0 degrees degrees F ( and vice versa ) 2.5.2 . 100 degrees degrees F ( and vice versa ) 2.5.3 . -40 , the only temperature that is the same in both .
Given these categories , use the table on the next page to record the specific input values you will use for your test plan . Note that you must predict and document what the output will be for each of your test cases , including the calculated values for each row of the temperature tables produced . Test your program using your selected test cases and record the actual observed output from your test cases by pasting screen shots into your report document . Make sure everything works correctly before submitting .