aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs2.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-28 21:49:59 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-28 21:49:59 +0000
commit7eaa5df0fa139eedb5076e9004286ce0c45ca240 (patch)
tree752ccd76cdafa7c8a23690283f1b0b436fb5d54f /test/testFuncs2.c
parentadded 16.5 (diff)
downloadmutator-7eaa5df0fa139eedb5076e9004286ce0c45ca240.tar.gz
mutator-7eaa5df0fa139eedb5076e9004286ce0c45ca240.zip
added tdd tests for 16.5 and two new tdd test files
Diffstat (limited to 'test/testFuncs2.c')
-rw-r--r--test/testFuncs2.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c
new file mode 100644
index 0000000..0bbc2ca
--- /dev/null
+++ b/test/testFuncs2.c
@@ -0,0 +1,50 @@
+
+#include "testFuncs2.h"
+
+static void test33(void)
+{
+ short int a;
+ long int b;
+
+ b = (int)a;
+}
+
+void testfunc1(void)
+{
+ unsigned char a;
+ unsigned char b;
+
+ b = a;
+}
+
+testfunc2(void)
+{
+ int a;
+ int b;
+ int sum;
+
+ sum = a + b;
+}
+
+void testfunc3()
+{
+ int a;
+ int b;
+ int c;
+
+ /*do stuff*/
+}
+
+int testfunc6(void)
+{
+ int a;
+ int b;
+ return ();
+}
+
+int testfunc7(void)
+{
+ int a;
+ int b;
+ return;
+} \ No newline at end of file