Assertions are used to check if something worked as expected. Each assertion takes three arguments - the expected result, the actual result and an error message to write in the log if the test fails. Use "" to display no message.
Table of Contents
- Assert_AreStringsEqual - Checks if two strings are equal, and fails if they are not. NOT case-sensitive.
- Assert_AreStringsNotEqual - Checks if two strings are not equal, and fails if they are equal. NOT case-sensitive.
- Assert_AreIntsEqual - Checks if two integers are equal, and fails if they are not.
- Assert_AreIntsNotEqual - Checks if two integers are not equal, and fails if they are equal.
- Assert_AreFloatsEqual - Checks if two floating point values are equal, and fails if they are not.
- Assert_AreFloatsNotEqual - Checks if two floating point values are not equal, and fails if they are equal.
- Assert_AreBanksEqual - Checks if two banks (including their contents) are equal, and fails if they are not.
- Assert_AreBanksNotEqual - Checks if two banks (including their contents) are not equal, and fails if they are.
- Assert_IsNull - Checks if an object is null, and fails if is not.
- Assert_IsNotNull - Checks if two banks (including their contents) are equal, and fails if they are not.