aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-17 16:37:03 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-17 16:37:03 +0000
commit3cf2206380c5d8fa9216b72993c1d29e2d52fed2 (patch)
treed6a1e453d5585a6657b6a17a9f718c3ba4152d61
parentupdated 1/17/2017 (diff)
downloadmutator-3cf2206380c5d8fa9216b72993c1d29e2d52fed2.tar.gz
mutator-3cf2206380c5d8fa9216b72993c1d29e2d52fed2.zip
added tdd for 7.1 and 4.1
Diffstat (limited to '')
-rw-r--r--test/testFuncs2.h2
-rw-r--r--test/testFuncs3.c15
-rw-r--r--test/testFuncs3.h1
3 files changed, 17 insertions, 1 deletions
diff --git a/test/testFuncs2.h b/test/testFuncs2.h
index 6ea79f5..4e577c0 100644
--- a/test/testFuncs2.h
+++ b/test/testFuncs2.h
@@ -22,7 +22,7 @@ int headervar;
double headervardouble;
/*********************************************************************************************************************/
/*funciton types go here.*/
-void test33(void);
+static void test33(void);
void testFunc1(void);
diff --git a/test/testFuncs3.c b/test/testFuncs3.c
index 37caa92..7cca2c8 100644
--- a/test/testFuncs3.c
+++ b/test/testFuncs3.c
@@ -7,11 +7,14 @@ int crappyint;
/*inclusion directives*/
#include "testFuncs3.h"
#include <complex.h>
+#include <string.h>
/*********************************************************************************************************************/
/*globals*/
int intarray3[3][2] = MACRO1;
int intarray4[3][2] = MACRO2;
int answer = ANSWER;
+
+
/*********************************************************************************************************************/
void tddfunc1 (void)
{
@@ -111,5 +114,17 @@ int externfunc(int arg)
{
return arg;
}
+
+void testfunc7(void)
+{
+ unsigned char chararroct[7U];
+
+ chararroct[0U] = '\100';
+ chararroct[1U] = '\109';
+ chararroct[2U] = 010;
+ chararroct[3U] = 055;
+ chararroct[4U] = 125;
+ chararroct[5U] = '\x12';
+}
/*********************************************************************************************************************/
/*last line intnetionally left blank.*/
diff --git a/test/testFuncs3.h b/test/testFuncs3.h
index 332f4fc..e5f0155 100644
--- a/test/testFuncs3.h
+++ b/test/testFuncs3.h
@@ -61,4 +61,5 @@ void tddfunc3(void);
int* tddfunc4(void);
void tddfunc5(void);
void tddfunc6(void);
+void tddfunc7(void);
/*last line intenitonally left blank.*/