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> 25290000Sglebius#include "config.h" 26290000Sglebius#include "ntp_types.h" 27290000Sglebius#include "ntp_stdlib.h" 28290000Sglebius#include "lfptest.h" 29290000Sglebius#include "ntp_unixtime.h" 30290000Sglebius#include <math.h> 31284990Scy 32284990Scy//=======External Functions This Runner Calls===== 33284990Scyextern void setUp(void); 34284990Scyextern void tearDown(void); 35290000Sglebiusextern void test_ZeroBuffer(void); 36290000Sglebiusextern void test_IntegerAndFractionalBuffer(void); 37290000Sglebiusextern void test_IllegalMicroseconds(void); 38290000Sglebiusextern void test_AlwaysFalseOnWindows(void); 39284990Scy 40284990Scy 41284990Scy//=======Test Reset Option===== 42290000Sglebiusvoid resetTest(void); 43290000Sglebiusvoid resetTest(void) 44284990Scy{ 45284990Scy tearDown(); 46284990Scy setUp(); 47284990Scy} 48284990Scy 49290000Sglebiuschar const *progname; 50284990Scy 51284990Scy 52284990Scy//=======MAIN===== 53284990Scyint main(int argc, char *argv[]) 54284990Scy{ 55284990Scy progname = argv[0]; 56284990Scy UnityBegin("buftvtots.c"); 57290000Sglebius RUN_TEST(test_ZeroBuffer, 14); 58290000Sglebius RUN_TEST(test_IntegerAndFractionalBuffer, 15); 59290000Sglebius RUN_TEST(test_IllegalMicroseconds, 16); 60290000Sglebius RUN_TEST(test_AlwaysFalseOnWindows, 17); 61284990Scy 62284990Scy return (UnityEnd()); 63284990Scy} 64