aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs1.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-25 09:48:07 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-25 09:48:07 +0000
commit83e829148427d211a291028a492c62e848a5d237 (patch)
treed364eed2b85b7475f831ab98c30b9ed779de20df /test/testFuncs1.c
parentadded 12.9,12.10 and 12 (diff)
downloadmutator-83e829148427d211a291028a492c62e848a5d237.tar.gz
mutator-83e829148427d211a291028a492c62e848a5d237.zip
updated tdd tests for 12.9,12.1. and 12.13
Diffstat (limited to '')
-rw-r--r--test/testFuncs1.c33
1 files changed, 32 insertions, 1 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c
index 0d55730..04c598a 100644
--- a/test/testFuncs1.c
+++ b/test/testFuncs1.c
@@ -4,7 +4,7 @@
/*include*/
/**********************************************************************************************************************/
#include "testFuncs1.h"
-#include <string.h>
+//#include <string.h>
/**************************************************MACROS & DEFS*******************************************************/
/**********************************************************************************************************************/
@@ -923,5 +923,36 @@ void test21(void)
a << 45U;
}
+void test22(void)
+{
+ unsigned int a;
+ int b;
+ t_int c;
+ ut_int d;
+
+ b = -a;
+ b = -c;
+ b = -d;
+}
+
+void test23 (void)
+{
+ int a, b, c;
+
+ a = b, c = a;
+}
+
+void test24(void)
+{
+ int a;
+ int b;
+ int c;
+
+ c = ++a - b--;
+ c = a++;
+ b++;
+ --a;
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/