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

PN 3

Uploaded by

sitpoly2
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

PN 3

Uploaded by

sitpoly2
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 Expected


case Actual Input Actual Output Status
Name Output
id

Take input
Successfully if Takes input
TC_01 Number Input "123467891234567" Pass
numbers are Successfully
within range

Should not take Does not takes


"1234678912345678 input when input when
TC_02 Number Input Pass
91234" numbers are out numbers are out of
of range range

Arithmetic
TC_03 operation Add " 50 + 50 " " = 100 " " = 100 " Pass
(Addition)
Arithmetic
TC_04 operation Add " 0 + 0 " "=0" "=0" Pass
(Addition)
Add
Arithmetic " "
"123456789123456"
TC_05 operation =1,23,45,67,89,12 =1,23,45,67,89,12,3 Pass
+
(Addition) ,34,567 " 4,567 "
"123456789123456"
Arithmetic
TC_06 operation Sub " 50 - 50 " "=0" "=0" Pass
(Substraction)
Arithmetic
operation
TC_07 Mul " 50 * 50 " " = 2500 " " = 2500 " Pass
(Multiplicatio
n)
Arithmetic
operation
TC_08 Mul " 50 * 0 " "=0" "=0" Pass
(Multiplicatio
n)
Arithmetic
TC_09 operation Div " 50 / 50 " "=1" "=1" Pass
(Division)
Arithmetic
TC_10 operation Div " 0 / 50 " "=0" "=0" Pass
(Division)

Arithmetic
Display "Cannot Display "Cannot
TC_11 operation Div " 50 / 0 " Pass
Divide By Zero" Divide By Zero"
(Division)
Scientific
TC_12 operation " sin 90 " "=1" "=1" Pass
(Sin)
Scientific
TC_13 operation " cos 0 " "=1" "=1" Pass
(Cos)
Scientific
TC_14 operation " cos 45 " "=1" "=1" Pass
(Tan)
Scientific
TC_15 "π" "3.14159265359" "3.14159265359" Pass
operation (π)
Negative and
TC_16 " 2 + 2 + (-2) +(-2) " "=0" "=0" Pass
Positive
Negative and
TC_17 " 2 - 2 - (-2) " "=2" "=2" Pass
Positive
Negative and
TC_18 "-2-2" "= -4" "= -4" Pass
Positive

Negative and
TC_19 " 2 - 2 - (-2) " "=2" "=2" Pass
Positive

TC_20 Logarithm " Log2 8 " "3" "3" Pass

TC_21 Trigonometry " sin 0 + cos 90 " "=1" "=1" Pass

TC_22 Trigonometry " sin 90 + cos 0 " "=1" "=1" Pass

TC_23 Trigonometry " sin 0 + tan 0 " "=0" "=0" Pass

TC_24 Trigonometry " cos 0 + tan 0 " "=1" "=1" Pass

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy