Write test cases for X+Y=20; Where X,Y are integers

prashant

• Sep 28th, 2015

Case 1: Enter the value of x as 0 and value of y as 20 and check the result.
Case 2: Enter the value of y as 0 and value of x as 20 and check the result.
Case 3: Enter the value as negative of both x and y and check the result, it would fail.
Case 4: Enter the equal values of x and y and check the result.

parul

• Oct 6th, 2015

- Enter X as 0 Y as integer resukt should be integer
- Enter Y as 0 X as integer result should be integer
- Enter X as negative number and Y as positive number >0 result should be integer.
- Enter x as positive number and Y as negative number > 0 result should be integer.
- Enter x and y as negative numbers >0, result should be integer.

• Oct 6th, 2015

- Enter X as 0 Y as integer result should be integer
- Enter Y as 0 X as integer result should be integer
- Enter X as negative number and Y as positive number > 0 result should be integer.
- Enter x as positive number and Y as negative number > 0 result should be integer.
- Enter x and y as negative numbers >0, result should be integer.

• Feb 21st, 2016

Can Anyone specify with some values.
let x=0, y=-7 expected =-7 ... something like this