void rabbitescape.engine.util.TestMathUtil.constrain_with_min_and_max_wrong |
( |
| ) |
|
If MathUtil#constrain is called with min larger than max the output is undefined. Since this is such a low level utility it seems wrong to validate that the min is not more than the max, so here we confirm the current behaviour. If new behaviour is desired in the future this test can be updated.
void rabbitescape.engine.util.TestMathUtil.constrain_works |
( |
| ) |
|
void rabbitescape.engine.util.TestMathUtil.max_works |
( |
| ) |
|
void rabbitescape.engine.util.TestMathUtil.min_works |
( |
| ) |
|
void rabbitescape.engine.util.TestMathUtil.sum_a_set |
( |
| ) |
|
void rabbitescape.engine.util.TestMathUtil.sum_empty_list |
( |
| ) |
|
The documentation for this class was generated from the following file: