Lines Matching refs:threshold
732 void UnityAssertGreaterOrLessOrEqualNumber(const UNITY_INT threshold, in UnityAssertGreaterOrLessOrEqualNumber() argument
742 if ((threshold == actual) && (compare & UNITY_EQUAL_TO)) { return; } in UnityAssertGreaterOrLessOrEqualNumber()
743 if ((threshold == actual)) { failed = 1; } in UnityAssertGreaterOrLessOrEqualNumber()
747 if ((actual > threshold) && (compare & UNITY_SMALLER_THAN)) { failed = 1; } in UnityAssertGreaterOrLessOrEqualNumber()
748 if ((actual < threshold) && (compare & UNITY_GREATER_THAN)) { failed = 1; } in UnityAssertGreaterOrLessOrEqualNumber()
752 …if (((UNITY_UINT)actual > (UNITY_UINT)threshold) && (compare & UNITY_SMALLER_THAN)) { failed = 1; } in UnityAssertGreaterOrLessOrEqualNumber()
753 …if (((UNITY_UINT)actual < (UNITY_UINT)threshold) && (compare & UNITY_GREATER_THAN)) { failed = 1; } in UnityAssertGreaterOrLessOrEqualNumber()
765 UnityPrintNumberByStyle(threshold, style); in UnityAssertGreaterOrLessOrEqualNumber()
1052 void UnityAssertGreaterOrLessFloat(const UNITY_FLOAT threshold, in UnityAssertGreaterOrLessFloat() argument
1065 if (!(actual < threshold) && (compare & UNITY_SMALLER_THAN)) { failed = 1; } in UnityAssertGreaterOrLessFloat()
1066 if (!(actual > threshold) && (compare & UNITY_GREATER_THAN)) { failed = 1; } in UnityAssertGreaterOrLessFloat()
1068 …if ((compare & UNITY_EQUAL_TO) && UnityFloatsWithin(threshold * UNITY_FLOAT_PRECISION, threshold, … in UnityAssertGreaterOrLessFloat()
1078 UnityPrintFloat(threshold); in UnityAssertGreaterOrLessFloat()
1279 void UnityAssertGreaterOrLessDouble(const UNITY_DOUBLE threshold, in UnityAssertGreaterOrLessDouble() argument
1292 if (!(actual < threshold) && (compare & UNITY_SMALLER_THAN)) { failed = 1; } in UnityAssertGreaterOrLessDouble()
1293 if (!(actual > threshold) && (compare & UNITY_GREATER_THAN)) { failed = 1; } in UnityAssertGreaterOrLessDouble()
1295 …if ((compare & UNITY_EQUAL_TO) && UnityDoublesWithin(threshold * UNITY_DOUBLE_PRECISION, threshold… in UnityAssertGreaterOrLessDouble()
1305 UnityPrintFloat(threshold); in UnityAssertGreaterOrLessDouble()