| SHTK_UNITTEST_ASSERT_NOT_EQUAL(3) | Library Functions Manual | SHTK_UNITTEST_ASSERT_NOT_EQUAL(3) |
shtk_unittest_assert_not_equal —
Fatal inequality check between two values
shtk_import unittest
shtk_unittest_assert_not_equal |
unexpected_value actual_value |
The shtk_unittest_assert_not_equal
function implements an inequality check between two values. If
actual_value does not match the value given in
unexpected_value (usually hardcoded in the test), then
the check is considered a success. Otherwise, the check fails and the test
case is aborted.
shtk_unittest_assert_not_equal first
appeared in shtk 1.6.
| November 8, 2014 | Debian |