Question: Use basis path testing to develop the test cases for the following code. Use the line (statement) numbers shown in your CFG. Use the following
Use basis path testing to develop the test cases for the following code. Use the line (statement) numbers shown in your CFG. Use the following template for the test case table. Assume shares ranges from 0 to 10,000 inclusive and that closing price is $140.00/share. Assume interest truncates to 0.01%

here are instructions for the solution...

public void calculate_balance (int number_of shares, double closing_price) int index; final double [] rate 10.0085,0.0135,0.02,0.025,0.0275,0.035; final double [ fee-50.0,50.0,0.0,0.0,0.0,0.0; if (number of shares 50) 2 4 6 index-0; else 8 if (number_of shares
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
