code/modules/unit_tests/_unit_tests.dm 
| TEST_ASSERT | Asserts that a condition is true If the condition is not true, fails the test |
|---|---|
| TEST_ASSERT_EQUAL | Asserts that the two parameters passed are equal, fails otherwise Optionally allows an additional message in the case of a failure |
| TEST_ASSERT_NOTEQUAL | Asserts that the two parameters passed are not equal, fails otherwise Optionally allows an additional message in the case of a failure |
| UNIT_TEST_PASSED | Constants indicating unit test completion status |
Define Details
TEST_ASSERT 
Asserts that a condition is true If the condition is not true, fails the test
TEST_ASSERT_EQUAL 
Asserts that the two parameters passed are equal, fails otherwise Optionally allows an additional message in the case of a failure
TEST_ASSERT_NOTEQUAL 
Asserts that the two parameters passed are not equal, fails otherwise Optionally allows an additional message in the case of a failure
UNIT_TEST_PASSED 
Constants indicating unit test completion status