SHTK_UNITTEST_ASSERT_... BSD Library Functions Manual SHTK_UNITTEST_ASSERT_...NAMEshtk_unittest_assert_equal — Fatal equality check between two values
LIBRARY
shtk_import unittest
SYNOPSISshtk_unittest_assert_equal expected_value actual_value
DESCRIPTION
The shtk_unittest_assert_equal function implements an equality check
between two values. If actual_value matches the expected value given in
expected_value (usually hardcoded in the test), then the check is consid‐
ered a success. Otherwise, the check fails and the test case is aborted.
SEE ALSOshtk(3), shtk_unittest(3)HISTORYshtk_unittest_assert_equal first appeared in shtk 1.6.
BSD November 8, 2014 BSD