diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-21 01:24:43 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-21 01:24:43 +0000 |
commit | 5a7f0990213afa8b6f64b8d88395e65093b5b8cb (patch) | |
tree | 224b9a13e77ed3941e4500280b7486272f71d198 | |
parent | added 8.1. it was a fun one. (diff) | |
download | mutator-5a7f0990213afa8b6f64b8d88395e65093b5b8cb.tar.gz mutator-5a7f0990213afa8b6f64b8d88395e65093b5b8cb.zip |
updated TDD tests for 8.1
-rw-r--r-- | test/testFuncs1.c | 11 | ||||
-rw-r--r-- | test/testFuncs1.h | 8 |
2 files changed, 11 insertions, 8 deletions
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);
/***********************************************************************************************************/
|