diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-25 13:28:53 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-25 13:28:53 +0000 |
commit | 1d860098dd5b0f0c23379aae66256b41be01da62 (patch) | |
tree | d9ca24e785417c866569cc66ff9af059206cc87c /test | |
parent | added 13.3 (diff) | |
download | mutator-1d860098dd5b0f0c23379aae66256b41be01da62.tar.gz mutator-1d860098dd5b0f0c23379aae66256b41be01da62.zip |
added tdd tests for 13.3
Diffstat (limited to 'test')
-rw-r--r-- | test/main.c | 1 | ||||
-rw-r--r-- | test/testFuncs1.c | 19 | ||||
-rw-r--r-- | test/testFuncs1.h | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c index 1757639..c8fdad0 100644 --- a/test/main.c +++ b/test/main.c @@ -71,5 +71,6 @@ main() test23(); test24(); test25(); + test26(); } /*intentionally left blank.*/ diff --git a/test/testFuncs1.c b/test/testFuncs1.c index dcfbf4e..1a9dbb2 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -966,5 +966,24 @@ void test25(void) }
}
+void test26 (void)
+{
+ double a;
+ double b;
+ double c;
+ unsigned char d;
+
+ if (a == b)
+ {}
+
+ if (a < b)
+ {}
+
+ if (c >= a)
+ {}
+
+ d = (a <= c);
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h index aff491a..356b2cc 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -121,6 +121,7 @@ void test22(void); void test23(void);
void test24(void);
void test25(void);
+void test26(void);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/
|