The document describes 10 test cases to validate the functionality of a calculator. Each test case includes prerequisites, steps to perform the test, input data, expected result, actual result, and test status. The test cases cover basic math operations like addition, subtraction, multiplication, and division as well as logical functions like absolute value, logarithm, and modulo. The results show that most test cases passed but one test case for subtraction and one for division by zero failed.
The document describes 10 test cases to validate the functionality of a calculator. Each test case includes prerequisites, steps to perform the test, input data, expected result, actual result, and test status. The test cases cover basic math operations like addition, subtraction, multiplication, and division as well as logical functions like absolute value, logarithm, and modulo. The results show that most test cases passed but one test case for subtraction and one for division by zero failed.
The document describes 10 test cases to validate the functionality of a calculator. Each test case includes prerequisites, steps to perform the test, input data, expected result, actual result, and test status. The test cases cover basic math operations like addition, subtraction, multiplication, and division as well as logical functions like absolute value, logarithm, and modulo. The results show that most test cases passed but one test case for subtraction and one for division by zero failed.
Test Test prerequisite steps Input Expecte Actual status
Case ID Case s data d result result
Objectiv e Tc1 To divide - Calculator 1)enter one valid two should be in integer integer working condition 2) press the Key of - knowledge “/” operator 20/5 4 4 pass about calculations 3) enter second integer
4)press the “=”
button Tc2 To Check - Calculator 1)enter any valid the should be in number division working of a condition 2) press the Key of number - knowledge “/” operator 20/0 0 15 fail by zero about calculations 3) enter 0 as second no.
4)press the “=”
button Tc3 -Calculator You Screen pass should be in should should To clear working 1)Press AC required be clear Screen the condition some cleared screen numbers on calculato rs Tc4 To delete -Calculator One One pass digits one should be in Digit Digit is by one working 1)press DEL should deleted condition be from deleted right from hand right side hand side Tc5 To check -Calculator 1) Enter no. integer Log of Log of pass the log should be in Press log button given given function working no. no is condition should correct - knowledge be about correct calculations(l og) Tc6 To check -Calculator 1) Enter no. Integer Negativ Negati fail the should be in Press abs button or e no. ve No. “abs”(abs working negative should is not olute) condition no be conver function -knowledge positive ted about into calculations( positiv abs) e no Tc7 To check Calculator 1) Switch on the integer Mod of Mod of pass “mod” should be in calculator given given function working 2) Enter the no. no. no is condition Press the mod should correct - knowledge be about correcte calculations d
Tc8 To add - Calculator 1)Enter one valid
two should be in integer integer working condition 2)press the Key of 20+10 30 30 pass - knowledge “+” operator about calculations 3)enter second integer
4)press the “=”
button Tc9 To - Calculator 1)enter one valid substract should be in integer two working integer condition 2) press the Key of - knowledge “-” operator 200-75 125 124 fail about calculations 3) enter second integer
4)press the “=”
button Tc10 To - Calculator 1)enter one valid multiply should be in integer two working integer condition 2) press the Key of 4*4 8 8 pass - knowledge “*” operator about calculations 3) enter second integer