sys/check: Library Dependencies
$check_list[]Stack of checks being performed.
check_start()Prints message indicating a check ($1) has started
check_finish()Prints message indicating a check ($1) has finished.
check_pass()Prints a message indicating a check passed.
check_fail()Prints a message ($1) indicating a check failed.
check_run()Runs a single check ($@) with a given message ($1) and error message ($2).
$1 - Informational message to pass to check_start().
$2 - Error message to pass to check_fail().
$@ - Command to execute.
check_for_pass()Runs a check that is expected to pass.
$1 - Informational message to pass to check_start().
$@ - Command to execute.
check_for_fail()Runs a check that is expected to fail.
$1 - Informational message to pass to check_start().
$@ - Command to execute.
check_is_expected()Runs a check that verifies a given variable ($1) produce an expected value ($2).
$1 - Variable to check
$2 - Expected value
check_list_start()Starts a test suite.
$1 - The name of the testsuite. If null, the caller function name well be used. The name must be a valid symbol.
check_list_finish()Finishs a test suite and reports the results.