X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Ftest.h;h=d349e54ae0ee3603b6f1cc1f101b4168409de13d;hb=983523c4536f12781533124cb8a00a4291b8cf79;hp=a79109f12f69ad298ae5ed7e4a1e6df9d48751a6;hpb=3dcd41c50068eec906a1a11a178e9b3f08ef2326;p=m6w6%2Flibmemcached diff --git a/libtest/test.h b/libtest/test.h index a79109f1..d349e54a 100644 --- a/libtest/test.h +++ b/libtest/test.h @@ -138,6 +138,16 @@ do \ } \ } while (0) +#define test_ne_compare(__expected, __actual) \ +do \ +{ \ + if (libtest::_ne_compare_hint(__FILE__, __LINE__, __func__, ((__expected)), ((__actual)), true) == false) \ + { \ + libtest::create_core(); \ + return TEST_FAILURE; \ + } \ +} while (0) + #define test_compare(__expected, __actual) \ do \ { \