DragonFly On-Line Manual Pages

Search: Section:  


SHTK_UNITTEST_ASSERT_EQUAL(3)               DragonFly Library Functions Manual

NAME

shtk_unittest_assert_equal - Fatal equality check between two values

LIBRARY

shtk_import unittest

SYNOPSIS

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

SEE ALSO

shtk(3), shtk_unittest(3)

HISTORY

shtk_unittest_assert_equal first appeared in shtk 1.6. DragonFly 6.5-DEVELOPMENT November 8, 2014 DragonFly 6.5-DEVELOPMENT

Search: Section: