Information Technology Reference
In-Depth Information
The next step is to develop a table of valid combinations of equivalence class
inputs with boundary values per the business rules that are expected to give the busi-
ness rule results. Below is the start of the table of valid combinations for the hospital
admission business rules.
Table of valid combinations—maximum room
rate (partial table)
Output/
result
Input
Input
Age on admission
Co-pay
Maximum
room rate
0- 6 years
0
1
3
5
6
6-17 years
7
$50.00
$50.00
$50.00
$50.00
$50.00
$50.00
$75.00
$75.00
$50.00
$50.00
$50.00
$50.00
$50.00
$50.00
$100.00
$100.00
The next step is to extend the table of combinations to disallowed combinations
by the business rules. For these disallowed combinations, some kind of error mes-
sage should be found in the corresponding expected results column rather than a
maximum room rate. The programming specifi cations should be the source of these
expected error messages in lieu of maximum room rates. Below is the extension of
the table of combinations to account for disallowed combinations.
Table of valid and disallowed combinations—maximum room rate (partial table)
Input
Input
Output/result
Age on admission
Co-pay
Maximum room rate
0- 6 years
1
0
1
3
5
6
7
3
3
6-17 years
5
6
7
$50.00
$50.00
$50.00
$50.00
$50.00
$50.00
$50.00
$50.00
$49.99
$50.01
$75.00
$75.00
$75.00
$75.00
$50.00
error—age not in range
$50.00
$50.00
$50.00
$50.00
$50.00
error—co-pay not valid for age
error—co-pay not valid for age
error—co-pay not valid for age
$100.00
error—co-pay not valid for age
$100.00
$100.00
 
Search WWH ::




Custom Search