SHTK_UNITTEST_ASSERT_EQUAL(3)
SHTK_UNITTEST_ASSERT_EQUAL(3) Library Functions Manual SHTK_UNITTEST_ASSERT_EQUAL(3)

shtk_unittest_assert_equalFatal equality check between two values

shtk_import unittest

shtk_unittest_assert_equal expected_value actual_value

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 considered a success. Otherwise, the check fails and the test case is aborted.

shtk(3), shtk_unittest(3)

shtk_unittest_assert_equal first appeared in shtk 1.6.

November 8, 2014 Debian