Collection of assert-functions for writing (unit-)test cases and to detect test failure. Assert is a method useful in determining Pass or Fail status of a test case.
Please ask questions and report bugs on the gretl mailing list if possible -- otherwise here on github.com.
Currently, the most standard methods are supported:
- assert_equal_num()
- assert_not_equal_num()
- assert_greater_equal_num()
- assert_less_equal_num()
- assert_almost_equal_num()
- assert_not_almost_equal_num()
- assert_equal_str()
- assert_not_equal_str()
- assert_true()
- assert_is_type()
- assert_is_not_type()
For details see the help file.
pkg install assertion
include assertion.gfn