This document outlines 20 test cases for a case study. The test cases provide inputs and expected results for actions like entering meal, age, gender, height, weight, item number, and switch case. Most test cases validate correct data type and format inputs while others validate error handling for invalid or negative number inputs.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
This document outlines 20 test cases for a case study. The test cases provide inputs and expected results for actions like entering meal, age, gender, height, weight, item number, and switch case. Most test cases validate correct data type and format inputs while others validate error handling for invalid or negative number inputs.
This document outlines 20 test cases for a case study. The test cases provide inputs and expected results for actions like entering meal, age, gender, height, weight, item number, and switch case. Most test cases validate correct data type and format inputs while others validate error handling for invalid or negative number inputs.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
This document outlines 20 test cases for a case study. The test cases provide inputs and expected results for actions like entering meal, age, gender, height, weight, item number, and switch case. Most test cases validate correct data type and format inputs while others validate error handling for invalid or negative number inputs.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
C1 Enter meal required Meal required=brunch Invalid input C2 Enter meal required Meal required=lunch Correct input, should continue the next stage C3 Enter age Age=a Invalid input C4 Enter age Age=/ Invalid input C5 Enter age Age=-13 negative input C6 Enter age Age=18 Correct input, should continue the next stage C7 Enter gender Gender=’S’ Invalid input C8 Enter gender Gender=5 Invalid input C9 Enter gender Gender=’M’ Correct input, should continue the next stage C10 Enter height Height=m Invalid input C11 Enter height Height=72 Correct input, should move to next step C12 Enter height Height=-72 negative input C13 Enter weight Weight=k Invalid input C14 Enter weight Weight=-87 negativeinput C15 Enter weight Weight=87 Correct input , should continue the next stage C16 Enter item_no Item_no=67 Invalid input C17 Enter item_no Item_no=-13 negative input C18 Enter item_no Item_no=23 Correct input, should continue the next stage C19 Enter switch case Switch case=3 Invalid input C20 Enter switch case Switch case=1 Correct input, should continue the net stage