0% found this document useful (0 votes)
15 views2 pages

Test Case ID2

The document outlines a series of test cases for a calculator application, verifying various functionalities such as addition, subtraction, multiplication, and division, including edge cases like division by zero and handling large numbers. Each test case includes steps, input data, expected results, actual results, and status, with all tests passing successfully. The tests also cover memory functions, trigonometric calculations, and the backspace function.

Uploaded by

DEVILS GAMERS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Test Case ID2

The document outlines a series of test cases for a calculator application, verifying various functionalities such as addition, subtraction, multiplication, and division, including edge cases like division by zero and handling large numbers. Each test case includes steps, input data, expected results, actual results, and status, with all tests passing successfully. The tests also cover memory functions, trigonometric calculations, and the backspace function.

Uploaded by

DEVILS GAMERS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Test Test Case Steps Input Data Expected Actual Status

Case Name Result Result


ID
TC01 Verify 1. Open calculator. 5+3 Result Pass
Addition 2. Enter numbers displayed as 8. 8
and select the +
operator.
3. Press =.
TC02 Verify 1. Open calculator. 10 - 4 Result Pass
Subtraction 2. Enter numbers displayed as 6. 6
and select the -
operator.
3. Press =.
TC03 Verify 1. Open calculator. 7*3 Result Pass
Multiplication 2. Enter numbers displayed as 21
and select the * 21.
operator.
3. Press =.
TC04 Verify 1. Open calculator. 16 / 4 Result Pass
Division 2. Enter numbers displayed as 4. 4
and select the /
operator.
3. Press =.
TC05 Division by 1. Open calculator. 5/0 Calculator Pass
Zero 2. Enter a number. displays an Error
3. Divide by 0. error or
"Infinity".
TC06 Verify Clear 1. Perform a Any Display is Pass
Function calculation. previous cleared to 0. 0
2. Press the C or AC result
button.
TC07 Verify 1. Enter decimal 3.5 + 2.4 Result Pass
Decimal numbers. displayed as 5.9
Numbers 2. Perform 5.9.
addition.
TC08 Verify 1. Enter a negative -5 * 3 Result Pass
Negative number. displayed as - -15
Numbers 2. Perform 15.
multiplication.
TC09 Verify 1. Enter a number. 50% of 200 Result Pass
Percentage 2. Press % button. displayed as 100
Calculation 100.
TC10 Verify Square 1. Enter a number. √16 Result Pass
Root Function 2. Press the square displayed as 4. 4
root (√) button.
TC11 Verify Power 1. Enter a number. 2^3 Result Pass
Calculation 2. Use the power displayed as 8. 8
(x^y) operator.
3. Enter the
exponent.
TC12 Verify 1. Enter a number. 10 Number is Pass
Memory Add 2. Press M+ to add added to -
to memory. memory.
TC13 Verify 1. Press MR button None Display shows Pass
Memory to recall memory. the stored -
Recall memory value.
TC14 Verify 1. Enter a value. sin(30) Result Pass
Trigonometric 2. Use displayed as 0.5
Function trigonometric 0.5.
functions like sin,
cos, or tan.
TC15 Verify Large 1. Enter a very 9999999 * Result Pass
Number large number. 8888888 displayed -
Handling 2. Multiply it by correctly
another large without
number. overflow.
TC16 Verify Square 1. Enter a number. 7^2 Result Pass
Function 2. Use the square displayed as 49
(x^2) operator. 49.
TC17 Verify 1. Enter multiple 12345, press Last digit is Pass
Backspace digits. delete removed 1234
Function 2. Press the (display shows
backspace/delete 1234).
button.
TC18 Verify Sign 1. Enter a number. 15, press +/- Number sign Pass
Change 2. Press the +/- changes to - 15
button. 15.
TC19 Verify History 1. Perform Calculations All past Pass
Function multiple performed calculations -
calculations. are displayed
2. Check history in history.
section.
TC20 Verify 1. Enter an 10^100 + Calculator Pass
Overflow extremely large 10^100 displays an -
Handling number. error or
2. Perform an handles the
operation. operation
properly.

You might also like