-----------------------------------------------*/
| 710 | |
| 711 | /*-----------------------------------------------*/ |
| 712 | void UnityAssertEqualNumber(const UNITY_INT expected, |
| 713 | const UNITY_INT actual, |
| 714 | const char* msg, |
| 715 | const UNITY_LINE_TYPE lineNumber, |
| 716 | const UNITY_DISPLAY_STYLE_T style) |
| 717 | { |
| 718 | RETURN_IF_FAIL_OR_IGNORE; |
| 719 | |
| 720 | if (expected != actual) |
| 721 | { |
| 722 | UnityTestResultsFailBegin(lineNumber); |
| 723 | UnityPrint(UnityStrExpected); |
| 724 | UnityPrintNumberByStyle(expected, style); |
| 725 | UnityPrint(UnityStrWas); |
| 726 | UnityPrintNumberByStyle(actual, style); |
| 727 | UnityAddMsgIfSpecified(msg); |
| 728 | UNITY_FAIL_AND_BAIL; |
| 729 | } |
| 730 | } |
| 731 | |
| 732 | /*-----------------------------------------------*/ |
| 733 | void UnityAssertGreaterOrLessOrEqualNumber(const UNITY_INT threshold, |
nothing calls this directly
no test coverage detected