1 /* AUTOGENERATED FILE. DO NOT EDIT. */
3 //=======Test Runner Used To Run Each Test Below=====
4 #define RUN_TEST(TestFunc, TestLineNum) \
6 Unity.CurrentTestName = #TestFunc; \
7 Unity.CurrentTestLineNumber = TestLineNum; \
8 Unity.NumberOfTests++; \
14 if (TEST_PROTECT() && !TEST_IS_IGNORED) \
18 UnityConcludeTest(); \
21 //=======Automagically Detected Files To Include=====
26 //=======External Functions This Runner Calls=====
27 extern void setUp(void);
28 extern void tearDown(void);
30 extern void test_MakeMd5Mac(void);
31 extern void test_MakeSHA1Mac(void);
32 extern void test_VerifyCorrectMD5(void);
33 extern void test_VerifySHA1(void);
34 extern void test_VerifyFailure(void);
35 extern void test_PacketSizeNotMultipleOfFourBytes(void);
38 //=======Test Reset Option=====
49 int main(int argc, char *argv[])
52 Unity.TestFile = "crypto.c";
53 UnityBegin("crypto.c");
54 RUN_TEST(test_MakeMd5Mac, 11);
55 RUN_TEST(test_MakeSHA1Mac, 33);
56 RUN_TEST(test_VerifyCorrectMD5, 59);
57 RUN_TEST(test_VerifySHA1, 78);
58 RUN_TEST(test_VerifyFailure, 100);
59 RUN_TEST(test_PacketSizeNotMultipleOfFourBytes, 120);