Tips for writing tests
Assert function selection guideline
When writing unit tests, the guideline for selecting which assert function to use are as follows:
xp_assert_close: for floating-point comparisonxp_assert_equal: for integer arraysassertfor anything else (boolean check, etc.)