Question: functional equivalence partitioning PLEASE READ THE EXAMPLE BELOW BEFORE ANSWERING THE QUESTION -------------------------- ----------------------- ---------- Answer this question please: Problem Descriptions: On weekday, the park's

functional equivalence partitioning

PLEASE READ THE EXAMPLE BELOW BEFORE ANSWERING THE QUESTION

functional equivalence partitioning PLEASE READ THE EXAMPLE BELOW BEFORE ANSWERING THE QUESTION

-------------------------- ----------------------- ---------- Answer this question please: Problem Descriptions: On weekday, the

--------------------------

-----------------------

----------

Answer this question please:

park's ticket price is shown below: Price:0-> Age:0-2 Price 15-> Age:3-54 Example

Problem Descriptions: On weekday, the park's ticket price is shown below: Price:0-> Age:0-2 Price 15-> Age:3-54 Example problem Price :5-> Age :>=55 On Saturday and Sunday, the ticket price will be doubled. A function, tPrice takes in two parameters: (age, dayOfWeek) age: an Integer dayOfWeek: 0 - 6 means Sunday to Saturday, other values are not allowed the function returns the ticket price. Use functional equivalence partitioning approach to design test cases for this function. You should have at least three levels of partition. You must show your partitioning tree. Generate one test case for each leaf node. Note each test case should look like: ((input age input dayOfWeek), expected output) For example: ((60, 0), 10) ((-1, 0). Exception)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!