Home
last modified time | relevance | path

Searched refs:UNITY_DOUBLE_PRECISION (Results 1 - 4 of 4) sorted by relevance

/third_party/unity/src/
H A Dunity_internals.h292 #ifndef UNITY_DOUBLE_PRECISION
293 #define UNITY_DOUBLE_PRECISION (1e-12) macro
1149 #define UNITY_TEST_ASSERT_EQUAL_DOUBLE(expected, actual, line, message) UNITY_TEST_ASSERT_DOUBLE_WITHIN((UNITY_DOUBLE)(expected) * (UNITY_DOUBLE)UNITY_DOUBLE_PRECISION, (UNITY_DOUBLE)(expected), (UNITY_DOUBLE)(actual), (UNITY_LINE_TYPE)(line), (message))
1150 #define UNITY_TEST_ASSERT_NOT_EQUAL_DOUBLE(expected, actual, line, message) UNITY_TEST_ASSERT_DOUBLE_NOT_WITHIN((UNITY_DOUBLE)(expected) * (UNITY_DOUBLE)UNITY_DOUBLE_PRECISION, (UNITY_DOUBLE)(expected), (UNITY_DOUBLE)(actual), (UNITY_LINE_TYPE)(line), (message))
H A Dunity.c1214 current_element_delta = *ptr_expected * UNITY_DOUBLE_PRECISION; in UnityAssertWithinDoubleArray()
1295 if ((compare & UNITY_EQUAL_TO) && UnityDoublesWithin(threshold * UNITY_DOUBLE_PRECISION, threshold, actual)) { failed = 0; } in UnityAssertGreaterOrLessDouble()
/third_party/cJSON/tests/unity/src/
H A Dunity_internals.h227 #ifndef UNITY_DOUBLE_PRECISION
228 #define UNITY_DOUBLE_PRECISION (1e-12) macro
856 #define UNITY_TEST_ASSERT_EQUAL_DOUBLE(expected, actual, line, message) UNITY_TEST_ASSERT_DOUBLE_WITHIN((UNITY_DOUBLE)(expected) * (UNITY_DOUBLE)UNITY_DOUBLE_PRECISION, (UNITY_DOUBLE)expected, (UNITY_DOUBLE)actual, (UNITY_LINE_TYPE)(line), message)
H A Dunity.c866 if (!UnityDoublesWithin(*ptr_expected * UNITY_DOUBLE_PRECISION, *ptr_expected, *ptr_actual)) in UnityAssertEqualDoubleArray()

Completed in 11 milliseconds