aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs1.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-29 17:11:43 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-29 17:11:43 +0000
commit9b82c31390060d6bf1d864be176caf445e68bd45 (patch)
tree28ee6f4d9ee932ee4af245e3472c9a88dd9bc6f4 /test/testFuncs1.c
parentadded 17.1,17.2,17.3 and 17.4 (diff)
downloadmutator-9b82c31390060d6bf1d864be176caf445e68bd45.tar.gz
mutator-9b82c31390060d6bf1d864be176caf445e68bd45.zip
added tdd tests for 17.1,17.2,17.3 and 17.4
Diffstat (limited to 'test/testFuncs1.c')
-rw-r--r--test/testFuncs1.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c
index 4312c79..20a40f2 100644
--- a/test/testFuncs1.c
+++ b/test/testFuncs1.c
@@ -730,10 +730,45 @@ void test7(void)
{
double a[100];
+ double b[100];
+
+ char c[100];
+
double *pointer;
+ double* pointerb;
+
+ char* pointerc;
+
+ pointerb = b;
+
pointer = a;
+ pointerc = c;
+
+ if (a - b >= a)
+ {}
+ else if (b - a < a)
+ {}
+
+ if (a < b)
+ {}
+
+ if (pointer < pointerb)
+ {}
+
+ if (pointer > pointerb)
+ {}
+
+ if (pointerb <= pointer)
+ {}
+
+ if (pointer >= pointerb)
+ {}
+
+ if (pointer < pointerc)
+ {}
+
int i = 0;
for (i = 0; i < 50; i++)