These tests verify the Credits calculation feature in the Programs form's Prerequisites/Requirements section. The Credits Gadget calculates total credits based on different rule types.
| Course | Credits |
|---|---|
| ACC101 - Introduction to Financial Accounting | 3 |
| ACC201 - Introduction to Managerial Accounting | 3 |
| ACC301 - Intermediate Accounting I | 3 |
| ACC302 - Intermediate Accounting II | 3 |
| ACC310 - Auditing and Assurance Services | 3 |
| ACC450 - Advanced Financial Reporting | 3 |
| DNC201 - Introduction to Dance | 2 |
Rule: Completed the following: [courses] Setup: Add ACC101 (3 credits) and DNC201 (2 credits) Expected: 5 Credits Behavior: Shows sum of all selected course credits
Rule: Completed at least 2 of the following: [courses] Setup: Add ACC101 (3), ACC301 (3), DNC201 (2) - total 3 courses Expected: 5-6 Credits (range) Behavior: Shows credit range from minimum possible (2 lowest: 2+3=5) to maximum possible (2 highest: 3+3=6)
Rule: Completed at least 3 of the following: [course sets] Setup: Add Accounting Core, set number to 3 Expected: 8-10 Credits (range) Behavior: Shows credit range based on selecting 3 courses from the course set
Rule: Completed the following: [course sets] Setup: Add Accounting Core Expected: ~21 Credits Behavior: Shows sum of all credits in the course set
Skip - same rule type as Test 2
Skip - same rule type as Test 3
Rule: Completed at least 3 courses from: [subjects] Setup: Add ACC subject, set number to 3 Expected: 9-10 Credits (range) Behavior: Shows credit range based on selecting 3 courses from ACC subject
Rule: Completed at least 6 credits from the following: [courses] Setup: Add ACC101 (3), ACC301 (3), DNC201 (2), set credits to 6 Expected: 6 Credits Behavior: Shows the specified minimum credit amount
Rule: Completed at least 10 credits from the following: [course sets] Setup: Add Accounting Core, set credits to 10 Expected: 10 Credits Behavior: Shows the specified minimum credit amount
Rule: Completed at least 9 credits from: [subjects] Setup: Add ACC subject, set credits to 9 Expected: 9 Credits Behavior: Shows the specified minimum credit amount
| Rule Pattern | Credit Display |
|---|---|
| "Completed the following" | Sum of all selected items |
| "Completed at least X of Y" (courses) | Range (min to max) |
| "Completed at least X of Y" (course sets) | Range (min to max) |
| "Completed at least X credits from" | Fixed amount (X) |