/third_party/unity/src/ |
H A D | unity_internals.h | 144 typedef unsigned int UNITY_UINT32; typedef 151 typedef unsigned long UNITY_UINT32; typedef 173 typedef UNITY_UINT32 UNITY_UINT; 577 void UnityPrintLen(const char* string, const UNITY_UINT32 length); 611 const UNITY_UINT32 num_elements, 630 const UNITY_UINT32 length, 636 const UNITY_UINT32 num_elements, 643 const UNITY_UINT32 length, 644 const UNITY_UINT32 num_elements, 659 const UNITY_UINT32 num_element [all...] |
H A D | unity.c | 149 void UnityPrintLen(const char* string, const UNITY_UINT32 length) in UnityPrintLen() 155 while (*pch && ((UNITY_UINT32)(pch - string) < length)) in UnityPrintLen() 625 const UNITY_UINT32 length) in UnityPrintExpectedAndActualStringsLen() 782 const UNITY_UINT32 num_elements, in UnityAssertEqualIntArray() 788 UNITY_UINT32 elements = num_elements; in UnityAssertEqualIntArray() 935 const UNITY_UINT32 num_elements, in UnityAssertWithinFloatArray() 940 UNITY_UINT32 elements = num_elements; in UnityAssertWithinFloatArray() 1163 const UNITY_UINT32 num_elements, in UnityAssertWithinDoubleArray() 1168 UNITY_UINT32 elements = num_elements; in UnityAssertWithinDoubleArray() 1429 const UNITY_UINT32 num_element in UnityAssertNumbersArrayWithin() [all...] |
H A D | unity.h | 444 #define TEST_ASSERT_BITS_HIGH_MESSAGE(mask, actual, message) UNITY_TEST_ASSERT_BITS((mask), (UNITY_UINT32)(-1), (actual), __LINE__, (message)) 445 #define TEST_ASSERT_BITS_LOW_MESSAGE(mask, actual, message) UNITY_TEST_ASSERT_BITS((mask), (UNITY_UINT32)(0), (actual), __LINE__, (message)) 446 #define TEST_ASSERT_BIT_HIGH_MESSAGE(bit, actual, message) UNITY_TEST_ASSERT_BITS(((UNITY_UINT32)1 << (bit)), (UNITY_UINT32)(-1), (actual), __LINE__, (message)) 447 #define TEST_ASSERT_BIT_LOW_MESSAGE(bit, actual, message) UNITY_TEST_ASSERT_BITS(((UNITY_UINT32)1 << (bit)), (UNITY_UINT32)(0), (actual), __LINE__, (message))
|
/third_party/cJSON/tests/unity/src/ |
H A D | unity_internals.h | 92 typedef unsigned int UNITY_UINT32; typedef 99 typedef unsigned long UNITY_UINT32; typedef 119 typedef UNITY_UINT32 UNITY_UINT; 440 void UnityPrintLen(const char* string, const UNITY_UINT32 length); 474 const UNITY_UINT32 num_elements, 493 const UNITY_UINT32 length, 499 const UNITY_UINT32 num_elements, 506 const UNITY_UINT32 length, 507 const UNITY_UINT32 num_elements, 532 const UNITY_UINT32 num_element [all...] |
H A D | unity.c | 119 void UnityPrintLen(const char* string, const UNITY_UINT32 length) in UnityPrintLen() 125 while (*pch && (UNITY_UINT32)(pch - string) < length) in UnityPrintLen() 451 const UNITY_UINT32 length) in UnityPrintExpectedAndActualStringsLen() 603 const UNITY_UINT32 num_elements, in UnityAssertEqualIntArray() 609 UNITY_UINT32 elements = num_elements; in UnityAssertEqualIntArray() 714 const UNITY_UINT32 num_elements, in UnityAssertEqualFloatArray() 719 UNITY_UINT32 elements = num_elements; in UnityAssertEqualFloatArray() 844 const UNITY_UINT32 num_elements, in UnityAssertEqualDoubleArray() 849 UNITY_UINT32 elements = num_elements; in UnityAssertEqualDoubleArray() 1009 UNITY_UINT32 in UnityAssertEqualString() [all...] |
H A D | unity.h | 146 #define TEST_ASSERT_BITS_HIGH(mask, actual) UNITY_TEST_ASSERT_BITS((mask), (UNITY_UINT32)(-1), (actual), __LINE__, NULL) 147 #define TEST_ASSERT_BITS_LOW(mask, actual) UNITY_TEST_ASSERT_BITS((mask), (UNITY_UINT32)(0), (actual), __LINE__, NULL) 148 #define TEST_ASSERT_BIT_HIGH(bit, actual) UNITY_TEST_ASSERT_BITS(((UNITY_UINT32)1 << (bit)), (UNITY_UINT32)(-1), (actual), __LINE__, NULL) 149 #define TEST_ASSERT_BIT_LOW(bit, actual) UNITY_TEST_ASSERT_BITS(((UNITY_UINT32)1 << (bit)), (UNITY_UINT32)(0), (actual), __LINE__, NULL) 338 #define TEST_ASSERT_BITS_HIGH_MESSAGE(mask, actual, message) UNITY_TEST_ASSERT_BITS((mask), (UNITY_UINT32)(-1), (actual), __LINE__, (message)) 339 #define TEST_ASSERT_BITS_LOW_MESSAGE(mask, actual, message) UNITY_TEST_ASSERT_BITS((mask), (UNITY_UINT32)(0), (actual), __LINE__, (message)) 340 #define TEST_ASSERT_BIT_HIGH_MESSAGE(bit, actual, message) UNITY_TEST_ASSERT_BITS(((UNITY_UINT32)1 << (bit)), (UNITY_UINT32)( [all...] |
/third_party/unity/test/tests/ |
H A D | test_unity_arrays.c | 1304 UNITY_UINT32 expected[] = {0x7FFFFFFF, 0x80000000}; in testHEX32ArrayWithinDeltaShouldNotHaveSignIssues() 1305 UNITY_UINT32 actualBigDelta[] = {0x80000000, 0x7FFFFFFF}; in testHEX32ArrayWithinDeltaShouldNotHaveSignIssues() 1714 UNITY_UINT32 p0[1] = {1}; in testNotEqualIntArraysLengthZero() 1715 UNITY_UINT32 p1[1] = {1}; in testNotEqualIntArraysLengthZero() 1774 UNITY_UINT32 p0[1] = {1}; in testNotEqualEachEqualLengthZero() 2296 UNITY_UINT32 p0[] = {1, 8, 987, 65132u}; in testEqualUINT32Arrays() 2297 UNITY_UINT32 p1[] = {1, 8, 987, 65132u}; in testEqualUINT32Arrays() 2298 UNITY_UINT32 p2[] = {1, 8, 987, 2}; in testEqualUINT32Arrays() 2299 UNITY_UINT32 p3[] = {1, 500, 600, 700}; in testEqualUINT32Arrays() 2310 UNITY_UINT32 p in testNotEqualUINT32Arrays1() [all...] |
H A D | test_unity_integers.c | 118 UNITY_UINT32 v0, v1; in testNotEqualUInt32s() 178 UNITY_UINT32 v0, v1; in testNotEqualHex32s() 427 UNITY_UINT32 v0, v1; in testEqualUint32s() 428 UNITY_UINT32 *p0, *p1; in testEqualUint32s() 526 UNITY_UINT32 v0, v1; in testEqualHex32s() 527 UNITY_UINT32 *p0, *p1; in testEqualHex32s() 545 UNITY_UINT32 v0 = 0xFF55AA00; in testEqualBits() 546 UNITY_UINT32 v1 = 0x55550000; in testEqualBits() 561 UNITY_UINT32 v0 = 0x7F55AA00; in testNotEqualBitHigh() 570 UNITY_UINT32 v in testNotEqualBitLow() [all...] |
/third_party/cJSON/tests/unity/test/tests/ |
H A D | testunity.c | 315 UNITY_UINT32 v0, v1; in testNotEqualUInt32s() 375 UNITY_UINT32 v0, v1; in testNotEqualHex32s() 598 UNITY_UINT32 v0, v1; in testEqualUint32s() 599 UNITY_UINT32 *p0, *p1; in testEqualUint32s() 697 UNITY_UINT32 v0, v1; in testEqualHex32s() 698 UNITY_UINT32 *p0, *p1; in testEqualHex32s() 716 UNITY_UINT32 v0 = 0xFF55AA00; in testEqualBits() 717 UNITY_UINT32 v1 = 0x55550000; in testEqualBits() 732 UNITY_UINT32 v0 = 0x7F55AA00; in testNotEqualBitHigh() 741 UNITY_UINT32 v in testNotEqualBitLow() [all...] |