@echo stamp > $@
../../sntp/unity/libunity.a:
- cd ../../libunity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
+ cd ../../sntp/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
include $(top_srcdir)/depsver.mf
include $(top_srcdir)/includes.mf
int simpleTest( void )
{
-
+ int x;
// loop from {0.0} to {1.1000000} stepping by tv_sec by 1 and tv_usec by 100000
- test_loop( 0, 0, 1, MICROSECONDS, 1, MICROSECONDS / 10 );
+ x = test_loop( 0, 0, 1, MICROSECONDS, 1, MICROSECONDS / 10 );
- // test_loop( 0, 0, 5, MICROSECONDS, 1, MICROSECONDS / 1000 );
- // test_loop( 0, 0, -5, -MICROSECONDS, -1, -MICROSECONDS / 1000 );
+ // x = test_loop( 0, 0, 5, MICROSECONDS, 1, MICROSECONDS / 1000 );
+ // x = test_loop( 0, 0, -5, -MICROSECONDS, -1, -MICROSECONDS / 1000 );
- return 0;
+ return x;
}
@echo stamp > $@
../../sntp/unity/libunity.a:
- cd ../../libunity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
+ cd ../../sntp/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
include $(top_srcdir)/depsver.mf
include $(top_srcdir)/includes.mf
//=======External Functions This Runner Calls=====
extern void setUp(void);
extern void tearDown(void);
+void resetTest(void);
extern void test_PositiveInteger(void);
extern void test_NegativeInteger(void);
extern void test_PositiveIntegerPositiveFraction(void);