aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-25 10:37:13 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-25 10:37:13 +0000
commit7f3c164acb81946de9b63c7f081e9029fe98fe80 (patch)
treec1d99123afea4a9952a57c5858af7fb39501c070 /test
parentadded 13.1 and 13.2 (diff)
downloadmutator-7f3c164acb81946de9b63c7f081e9029fe98fe80.tar.gz
mutator-7f3c164acb81946de9b63c7f081e9029fe98fe80.zip
added tdd tests for 13.1 and 13.2
Diffstat (limited to '')
-rw-r--r--test/main.c1
-rw-r--r--test/testFuncs1.c12
-rw-r--r--test/testFuncs1.h1
3 files changed, 14 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c
index 48a5b4c..1757639 100644
--- a/test/main.c
+++ b/test/main.c
@@ -70,5 +70,6 @@ main()
test22();
test23();
test24();
+ test25();
}
/*intentionally left blank.*/
diff --git a/test/testFuncs1.c b/test/testFuncs1.c
index 04c598a..dcfbf4e 100644
--- a/test/testFuncs1.c
+++ b/test/testFuncs1.c
@@ -954,5 +954,17 @@ void test24(void)
--a;
}
+void test25(void)
+{
+ int a;
+ int b;
+ int c;
+
+ if (a - b)
+ {
+ /*i dont care.*/
+ }
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h
index d5fe757..aff491a 100644
--- a/test/testFuncs1.h
+++ b/test/testFuncs1.h
@@ -120,6 +120,7 @@ void test21(void);
void test22(void);
void test23(void);
void test24(void);
+void test25(void);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/