Question
Signature public BoundedQueue (int capacity); // The maximum number of elements public void enQueue (Object X); public Object deQueue (); public boolean isEmpty (); public
Signature
public BoundedQueue (int capacity); // The maximum number of elements
public void enQueue (Object X);
public Object deQueue ();
public boolean isEmpty ();
public boolean isFull ();
Assume the usual semantics for a queue with a fixed, maximal capacity.
Using input space partitioning for the above class, how would I do the following:
(a) List of all the input variables, including the state variables.
(b) Characteristics of the input variables (Make sure you cover all input variables)
(c) Blocks that partition the characteristics.
(d)One block in each partition designated as the Base block.
(e) Values for each block.
(f) Test suite that satisfies Base Choice Coverage (BCC)
Remember that a test suite is a set of test cases and a test case contains both the input to be used with that test, but also the expected output or better the test oracle (i.e., what you will be checking with that test case).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started