@@ -531,17 +531,29 @@ You can leave out TEST_GROUP_C_SETUP() / TEST_GROUP_C_TEARDOWN() and TEST_GROUP_
531531The following assertion macros are supported in the pure C interface:
532532
533533{% highlight c++ %}
534+ CHECK_EQUAL_C_BOOL(expected,actual);
534535CHECK_EQUAL_C_INT(expected,actual);
536+ CHECK_EQUAL_C_UINT(expected,actual);
537+ CHECK_EQUAL_C_LONG(expected,actual);
538+ CHECK_EQUAL_C_ULONG(expected,actual);
539+ CHECK_EQUAL_C_LONGLONG(expected,actual);
540+ CHECK_EQUAL_C_ULONGLONG(expected,actual);
535541CHECK_EQUAL_C_REAL(expected,actual,threshold);
536542CHECK_EQUAL_C_CHAR(expected,actual);
543+ CHECK_EQUAL_C_UBYTE(expected,actual);
544+ CHECK_EQUAL_C_SBYTE(expected,actual);
537545CHECK_EQUAL_C_STRING(expected,actual);
538546CHECK_EQUAL_C_POINTER(expected,actual); /* v3.8 * /
539547CHECK_EQUAL_C_BITS(expected, actual, mask); /* v3.8, pending * /
540548FAIL_TEXT_C(text);
541549FAIL_C();
542550CHECK_C(condition);
551+ CHECK_C_TEXT(condition, text);
543552{% endhighlight %}
544553
554+ * NOTE* LONGLONG assertions are disabled by default.
555+ * NOTE2* All macros have _ TEXT() equivalents like CHECK_C_TEXT(), which are not explicitly listed here.
556+
545557These macros ensure tests get terminated in a way appropriate for pure C code.
546558
547559<a id =" gmock " > </a >
0 commit comments