/third_party/cJSON/tests/unity/src/ |
H A D | unity_internals.h | 95 typedef signed int UNITY_INT32; typedef 102 typedef signed long UNITY_INT32; typedef 120 typedef UNITY_INT32 UNITY_INT; 143 #define UNITY_PTR_TO_INT UNITY_INT32 659 #define UNITY_TEST_ASSERT_EQUAL_INT32(expected, actual, line, message) UnityAssertEqualNumber((UNITY_INT)(UNITY_INT32)(expected), (UNITY_INT)(UNITY_INT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32) 666 #define UNITY_TEST_ASSERT_EQUAL_HEX32(expected, actual, line, message) UnityAssertEqualNumber((UNITY_INT)(UNITY_INT32)(expected), (UNITY_INT)(UNITY_INT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32) 672 #define UNITY_TEST_ASSERT_GREATER_THAN_INT32(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT32)(threshold), (UNITY_INT)(UNITY_INT32)(actua [all...] |
H A D | unity.c | 236 UNITY_INT32 i; in UnityPrintMask() 285 UNITY_INT32 n; in UnityPrintFloat() 295 n = ((UNITY_INT32)(number + number) + 1) / 2; in UnityPrintFloat() 644 expect_val = *(UNITY_PTR_ATTRIBUTE const UNITY_INT32*)expected; in UnityAssertEqualIntArray() 645 actual_val = *(UNITY_PTR_ATTRIBUTE const UNITY_INT32*)actual; in UnityAssertEqualIntArray() 1225 UNITY_INT32 i32; 1255 UnityQuickCompare.i32 = (UNITY_INT32)num; in UnityNumToPtr()
|
/third_party/unity/src/ |
H A D | unity_internals.h | 147 typedef signed int UNITY_INT32; typedef 154 typedef signed long UNITY_INT32; typedef 174 typedef UNITY_INT32 UNITY_INT; 197 #define UNITY_PTR_TO_INT UNITY_INT32 886 #define UNITY_TEST_ASSERT_EQUAL_INT32(expected, actual, line, message) UnityAssertEqualNumber((UNITY_INT)(UNITY_INT32)(expected), (UNITY_INT)(UNITY_INT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32) 893 #define UNITY_TEST_ASSERT_EQUAL_HEX32(expected, actual, line, message) UnityAssertEqualNumber((UNITY_INT)(UNITY_INT32)(expected), (UNITY_INT)(UNITY_INT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32) 900 #define UNITY_TEST_ASSERT_NOT_EQUAL_INT32(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT32)(threshold), (UNITY_INT)(UNITY_INT32)(actua [all...] |
H A D | unity.c | 301 UNITY_INT32 i; in UnityPrintMask() 337 static const UNITY_INT32 min_scaled = 100000000; in UnityPrintFloat() 338 static const UNITY_INT32 max_scaled = 1000000000; in UnityPrintFloat() 341 static const UNITY_INT32 min_scaled = 1000000; in UnityPrintFloat() 342 static const UNITY_INT32 max_scaled = 10000000; in UnityPrintFloat() 369 UNITY_INT32 n_int = 0; in UnityPrintFloat() 370 UNITY_INT32 n; in UnityPrintFloat() 409 n_int = (UNITY_INT32)number; in UnityPrintFloat() 418 n = ((UNITY_INT32)(number + number) + 1) / 2; in UnityPrintFloat() 852 expect_val = *(UNITY_PTR_ATTRIBUTE const UNITY_INT32*)expecte in UnityAssertEqualIntArray() [all...] |
/third_party/unity/test/tests/ |
H A D | test_unity_integers.c | 190 UNITY_INT32 v0, v1; in testNotEqualHex32sIfSigned() 317 UNITY_INT32 v0, v1; in testEqualInt32s() 318 UNITY_INT32 *p0, *p1; in testEqualInt32s() 336 UNITY_INT32 v0, v1; in testEqualInt32sNegatives() 337 UNITY_INT32 *p0, *p1; in testEqualInt32sNegatives() 1283 UNITY_INT32 v0, v1; in testNotEqualINT32() 1284 UNITY_INT32 *p0, *p1; in testNotEqualINT32() 1584 UNITY_INT32 v0, v1; in testGreaterThanINT32() 1585 UNITY_INT32 *p0, *p1; in testGreaterThanINT32() 1913 UNITY_INT32 v in testGreaterOrEqualINT32() [all...] |
H A D | test_unity_arrays.c | 2160 UNITY_INT32 p0[] = {1, 8, 117, 3}; in testEqualInt32Arrays() 2161 UNITY_INT32 p1[] = {1, 8, 117, 3}; in testEqualInt32Arrays() 2162 UNITY_INT32 p2[] = {1, 8, 117, 2}; in testEqualInt32Arrays() 2163 UNITY_INT32 p3[] = {1, 50, 60, 70}; in testEqualInt32Arrays() 2174 UNITY_INT32 p0[] = {1, 8, 127, 3}; in testNotEqualInt32Arrays() 2175 UNITY_INT32 p1[] = {1, 8, 127, 2}; in testNotEqualInt32Arrays() 2184 UNITY_INT32 p0[] = {8, 8, 8, 8}; in testEqualInt32EachEqual() 2185 UNITY_INT32 p1[] = {65537, 65537, 65537, 65537}; in testEqualInt32EachEqual() 2186 UNITY_INT32 p2[] = {-3, -3, -3, 2}; in testEqualInt32EachEqual() 2187 UNITY_INT32 p in testEqualInt32EachEqual() [all...] |
/third_party/cJSON/tests/unity/test/tests/ |
H A D | testunity.c | 387 UNITY_INT32 v0, v1; in testNotEqualHex32sIfSigned() 488 UNITY_INT32 v0, v1; in testEqualInt32s() 489 UNITY_INT32 *p0, *p1; in testEqualInt32s() 507 UNITY_INT32 v0, v1; in testEqualInt32sNegatives() 508 UNITY_INT32 *p0, *p1; in testEqualInt32sNegatives() 1378 UNITY_INT32 v0, v1; in testGreaterThanINT32() 1379 UNITY_INT32 *p0, *p1; in testGreaterThanINT32() 1580 UNITY_INT32 v0, v1; in testLessThanINT32() 1581 UNITY_INT32 *p0, *p1; in testLessThanINT32() 2500 UNITY_INT32 p in testEqualInt32Arrays() [all...] |