Test Cases For Addition Of Two Numbers: In this post of softwaretestingo, we will discuss the possible scenario of two integer number addition test cases, and we have shared a test case template for manual testing testers. You can verify them also.
Post On: | Test Cases For The 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 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 an 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; the results should be integers.
- Enter x as a positive number and Y as a negative number > 0. The result should be an integer.
- Enter x and y as negative numbers >0; the result should be an integer.
- Enter X as 0 Y as an 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; the results should be integers.
- Enter x as a positive number and Y as a negative number > 0. The result should be an integer.
- Enter x and y as negative numbers >0; the result should be an integer.
Integer Addition Test Case Scenarios
- 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
- In addition to huge integers, you will fix up positive, negative, and zero integers.
- 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 expectations to come up with more tests.
In this post, we have tried our best to share as many scenarios as possible, but if you find any missed test cases, you can still share them in the comment section.
urgent
Thanks For an detailed test cases