-----------------------------------------------*/
| 532 | |
| 533 | /*-----------------------------------------------*/ |
| 534 | void UnityAssertEqualNumber(const UNITY_INT expected, |
| 535 | const UNITY_INT actual, |
| 536 | const char* msg, |
| 537 | const UNITY_LINE_TYPE lineNumber, |
| 538 | const UNITY_DISPLAY_STYLE_T style) |
| 539 | { |
| 540 | RETURN_IF_FAIL_OR_IGNORE; |
| 541 | |
| 542 | if (expected != actual) |
| 543 | { |
| 544 | UnityTestResultsFailBegin(lineNumber); |
| 545 | UnityPrint(UnityStrExpected); |
| 546 | UnityPrintNumberByStyle(expected, style); |
| 547 | UnityPrint(UnityStrWas); |
| 548 | UnityPrintNumberByStyle(actual, style); |
| 549 | UnityAddMsgIfSpecified(msg); |
| 550 | UNITY_FAIL_AND_BAIL; |
| 551 | } |
| 552 | } |
| 553 | |
| 554 | /*-----------------------------------------------*/ |
| 555 | void UnityAssertGreaterOrLessOrEqualNumber(const UNITY_INT threshold, |
nothing calls this directly
no test coverage detected
searching dependent graphs…