aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs3.c
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 /test/testFuncs3.c
parentupdated 1/17/2017 (diff)
downloadmutator-3cf2206380c5d8fa9216b72993c1d29e2d52fed2.tar.gz
mutator-3cf2206380c5d8fa9216b72993c1d29e2d52fed2.zip
added tdd for 7.1 and 4.1
Diffstat (limited to 'test/testFuncs3.c')
-rw-r--r--test/testFuncs3.c15
1 files changed, 15 insertions, 0 deletions
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.*/