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_fp.h"
27293893Sglebius#include "ntp_stdlib.h"
28284990Scy
29284990Scy//=======External Functions This Runner Calls=====
30284990Scyextern void setUp(void);
31284990Scyextern void tearDown(void);
32284990Scyextern void test_PositiveInteger(void);
33284990Scyextern void test_NegativeInteger(void);
34284990Scyextern void test_PositiveIntegerPositiveFraction(void);
35284990Scyextern void test_NegativeIntegerNegativeFraction(void);
36284990Scyextern void test_PositiveIntegerNegativeFraction(void);
37284990Scyextern void test_NegativeIntegerPositiveFraction(void);
38284990Scyextern void test_SingleDecimalInteger(void);
39284990Scyextern void test_SingleDecimalRounding(void);
40284990Scy
41284990Scy
42284990Scy//=======Test Reset Option=====
43289999Sglebiusvoid resetTest(void);
44289999Sglebiusvoid resetTest(void)
45284990Scy{
46284990Scy  tearDown();
47284990Scy  setUp();
48284990Scy}
49284990Scy
50289999Sglebiuschar const *progname;
51284990Scy
52284990Scy
53284990Scy//=======MAIN=====
54284990Scyint main(int argc, char *argv[])
55284990Scy{
56284990Scy  progname = argv[0];
57284990Scy  UnityBegin("sfptostr.c");
58293893Sglebius  RUN_TEST(test_PositiveInteger, 13);
59293893Sglebius  RUN_TEST(test_NegativeInteger, 14);
60293893Sglebius  RUN_TEST(test_PositiveIntegerPositiveFraction, 15);
61293893Sglebius  RUN_TEST(test_NegativeIntegerNegativeFraction, 16);
62293893Sglebius  RUN_TEST(test_PositiveIntegerNegativeFraction, 17);
63293893Sglebius  RUN_TEST(test_NegativeIntegerPositiveFraction, 18);
64293893Sglebius  RUN_TEST(test_SingleDecimalInteger, 19);
65293893Sglebius  RUN_TEST(test_SingleDecimalRounding, 20);
66284990Scy
67284990Scy  return (UnityEnd());
68284990Scy}
69