whether the test passed
type of test (variables, energy, number of collisions, etc.)
Optional reason: stringwhy the test failed: a string giving details of
test results, or null
if passed is false and ABORT_ON_FAIL is true
Generated using TypeDoc
Prints whether the test passed or failed, along with the name of the test method; if the test failed, prints the reason and if
ABORT_ON_FAILis true throws an Error.Some tests reproduce errors which need to be fixed. To make these visible, any test whose name includes the word 'error' is printed with the 'warning' highlighting.