1284990Scy/* AUTOGENERATED FILE. DO NOT EDIT. */
2284990Scy
3284990Scy//=======Test Runner Used To Run Each Test Below=====
4284990Scy#define RUN_TEST(TestFunc, TestLineNum) \
5284990Scy{ \
6284990Scy  Unity.CurrentTestName = #TestFunc; \
7284990Scy  Unity.CurrentTestLineNumber = TestLineNum; \
8284990Scy  Unity.NumberOfTests++; \
9284990Scy  if (TEST_PROTECT()) \
10284990Scy  { \
11284990Scy      setUp(); \
12284990Scy      TestFunc(); \
13284990Scy  } \
14284990Scy  if (TEST_PROTECT() && !TEST_IS_IGNORED) \
15284990Scy  { \
16284990Scy    tearDown(); \
17284990Scy  } \
18284990Scy  UnityConcludeTest(); \
19284990Scy}
20284990Scy
21284990Scy//=======Automagically Detected Files To Include=====
22284990Scy#include "unity.h"
23284990Scy#include <setjmp.h>
24284990Scy#include <stdio.h>
25284990Scy
26284990Scy//=======External Functions This Runner Calls=====
27284990Scyextern void setUp(void);
28284990Scyextern void tearDown(void);
29284990Scyextern void test_KnownMode(void);
30284990Scyextern void test_UnknownMode(void);
31284990Scy
32284990Scy
33284990Scy//=======Test Reset Option=====
34289997Sglebiusvoid resetTest(void);
35289997Sglebiusvoid resetTest(void)
36284990Scy{
37284990Scy  tearDown();
38284990Scy  setUp();
39284990Scy}
40284990Scy
41289997Sglebiuschar const *progname;
42284990Scy
43289997Sglebius
44284990Scy//=======MAIN=====
45289997Sglebiusint main(int argc, char *argv[])
46284990Scy{
47289997Sglebius  progname = argv[0];
48289997Sglebius  UnityBegin("modetoa.c");
49284990Scy  RUN_TEST(test_KnownMode, 8);
50284990Scy  RUN_TEST(test_UnknownMode, 15);
51284990Scy
52284990Scy  return (UnityEnd());
53284990Scy}
54