(modelClass: ModelClass)
| 66 | |
| 67 | /** The budget of one model class. There is no third. */ |
| 68 | export function budgetOf(modelClass: ModelClass): number { |
| 69 | return modelClass === 'A' ? CARD_BUDGET_CLASS_A : CARD_BUDGET_CLASS_B; |
| 70 | } |
| 71 | |
| 72 | /** |
| 73 | * Which class a running model belongs to, from the window it opened. |
no outgoing calls
no test coverage detected