What We Are Learn On This Post

**Test Cases For Addition Of Two Numbers: I**n this post of softwaretestingo, we are going to discuss the possible scenario of two integer number addition test cases, and also we have shared **180+ test case templates** for manual testing testers. You can verify them also.

Post On: | Test Cases For Addition Of Two Numbers |

Post Type: | Test Case Template |

Published On: | www.softwaretestingo.com |

Applicable For: | Freshers & Experience |

Have you Joined: | Our Testingo Group |

## Test Case For Integer Addition

Similar Test Cases

- Test Case For Estimated Time Of Arrival
- Test Case For Factorial a Given Number
- Test Case For Guidelines To Write
- Test Case For Isosceles & Scalene Triangle
- Test Case For Manual
- Test Case For Mobile Application Functional Testing

## Test Cases For Addition Of Two Numbers

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

- Enter the value of x as 0 and the value of y as 20 and check the result.
- Enter the value of y as 0 and the value of x as 20 and check the result.
- Enter the value as negative of both x and y and check the result; it would fail.
- Enter the equal values of x and y and check the result.
- Enter X as 0 Y as integer result should be an integer
- Enter Y as 0 X as integer result should be an integer
- Enter X as a negative number, and Y as a positive number >0 results should be an integer.
- Enter x as a positive number, and Y as a negative number > 0 result should be an integer.
- Enter x and y as negative numbers >0, and the result should be an integer.
- Enter X as 0 Y as integer result should be an integer
- Enter Y as 0 X as integer result should be an integer
- Enter X as a negative number, and Y as a positive number > 0 results should be an integer.
- Enter x as a positive number, and Y as a negative number > 0 result should be an integer.
- Enter x and y as negative numbers >0, and the result should be an integer.

### Integer Addition Test Case scenarios template

- The simplest will be the addition of positive integers
- Addition of positive integers and zero
- Addition of negative integers
- Addition of positive integers and negative integers
- Addition of negative integer and zero
- Addition of multiple positive integers
- Addition of multiple negative integers
- Addition of multiple positive and negative integers
- Addition of very large integers, you will fix up positive integers, negative integers, and zero
- Redo all tests described above with float point numbers
- Redo all tests described above with mixed integer and float point numbers
- Redo all tests described above with large float point numbers
- Use your expectation to come up with more tests.

In this post, we have tried our level best to share as many as possible scenarios, but still, if you found any missed test cases, then you can share that in the comment section.

Ankita Rani says

urgent