What We Are Learn On This Post

**Integer Addition Test Case: 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 Case For Integer Addition |

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

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

- Enter the value of x is 0 and the value of y as 20 and check the result.
- Enter the value of y as 0 and 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 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 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 are 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