From 5a7f0990213afa8b6f64b8d88395e65093b5b8cb Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 21 Nov 2016 04:54:43 +0330 Subject: updated TDD tests for 8.1 --- test/testFuncs1.c | 11 +++++++++++ test/testFuncs1.h | 8 -------- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'test') diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 770ae97..115cad0 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -19,6 +19,7 @@ typedef unsigned char BYTE; /**********************************************************************************************************************/ void test (void); void test2 (void); +void test11 (void); /**********************************************************************************************************************/ @@ -771,5 +772,15 @@ void test10 (void) } reg3; } +void test11 (void) +{ + /*empty*/ +} + +double test12(double a) +{ + return a * 2; +} + /**********************************************************************************************************************/ /*the last line's been intentionally left blank.*/ diff --git a/test/testFuncs1.h b/test/testFuncs1.h index c047cc2..849e8e2 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -13,7 +13,6 @@ extern union uni { } uni1; /***********************************************************************************************************/ /*choose the compiler*/ - #define COMPILER GCC #define HCS12 1U @@ -42,7 +41,6 @@ extern union uni { /***********************************************************************************************************/ - #if (HCS12 == COMPILER) #define blreplacement unsigned char #endif @@ -56,13 +54,8 @@ extern union uni { #define blreplacement unsigned char #endif - - - - /***********************************************************************************************************/ /*all the test function prototypes are here.*/ - void testFuncStatementsinmple (void); void testFuncStatementComplexIf (void); void testFuncStatementNotCoverage (void); @@ -115,7 +108,6 @@ void test5(void); void test6(void); void test7(void); void test8(void); -void test9(void); void test10(void); /***********************************************************************************************************/ -- cgit v1.2.3