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>
25289999Sglebius#include "config.h"
26289999Sglebius#include "ntp_stdlib.h"
27289999Sglebius#include "ntp_calendar.h"
28289999Sglebius#include "ntp_fp.h"
29284990Scy
30284990Scy//=======External Functions This Runner Calls=====
31284990Scyextern void setUp(void);
32284990Scyextern void tearDown(void);
33284990Scyextern void test_SingleDigit(void);
34284990Scyextern void test_MultipleDigits(void);
35284990Scyextern void test_MaxUnsigned(void);
36284990Scyextern void test_Overflow(void);
37284990Scyextern void test_IllegalChar(void);
38284990Scy
39284990Scy
40284990Scy//=======Test Reset Option=====
41289999Sglebiusvoid resetTest(void);
42289999Sglebiusvoid resetTest(void)
43284990Scy{
44284990Scy  tearDown();
45284990Scy  setUp();
46284990Scy}
47284990Scy
48289999Sglebiuschar const *progname;
49284990Scy
50284990Scy
51284990Scy//=======MAIN=====
52284990Scyint main(int argc, char *argv[])
53284990Scy{
54284990Scy  progname = argv[0];
55284990Scy  UnityBegin("hextoint.c");
56289999Sglebius  RUN_TEST(test_SingleDigit, 9);
57289999Sglebius  RUN_TEST(test_MultipleDigits, 10);
58289999Sglebius  RUN_TEST(test_MaxUnsigned, 11);
59289999Sglebius  RUN_TEST(test_Overflow, 12);
60289999Sglebius  RUN_TEST(test_IllegalChar, 13);
61284990Scy
62284990Scy  return (UnityEnd());
63284990Scy}
64