• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

SoftwareTestingo - Interview Questions, Tutorial & Test Cases Template Examples

SoftwareTestingo - Interview Questions, Tutorial & Test Cases Template Examples

  • Home
  • Test Case Examples
  • Interview Questions
  • Interview Questions Asked
  • Java
  • Java Program
  • Selenium
  • Selenium Programs
  • Manual Testing
  • Difference
  • Tools
  • SQL
  • Contact Us
  • Search
SoftwareTestingo » Manual Testing » Test Cases Example » Test Cases For Addition Of Two Numbers

Test Cases For Addition Of Two Numbers

Last Updated on: January 8, 2023 By Softwaretestingo Editorial Board

What We Are Learn On This Post

  • Test Cases For Addition Of Two Numbers
  • Integer Addition Test Case Scenarios

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

  • 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 huge 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 best to share as many scenarios as possible, but still, if you find any missed test cases, you can share that in the comment section.

    Filed Under: Test Cases Example

    Reader Interactions

    Comments

    1. Avatar for Ankita RaniAnkita Rani says

      June 11, 2021 at 2:04 PM

      urgent

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Primary Sidebar

    Join SoftwareTestingo Telegram Group

    Categories

    Copyright © 2023 SoftwareTestingo.com ~ Contact Us ~ Sitemap ~ Privacy Policy ~ Testing Careers