aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-29 16:12:35 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-29 16:12:35 +0000
commit11de24eb7fe8b72728e3631c493fc53320107e52 (patch)
tree0c1b3a94b5f80f862e89f95f023055fe703e3e12 /test
parentadded 5.3 and 5.4 (diff)
downloadmutator-11de24eb7fe8b72728e3631c493fc53320107e52.tar.gz
mutator-11de24eb7fe8b72728e3631c493fc53320107e52.zip
new testfiles. added tdd tests for 10.3 and 10.4
Diffstat (limited to 'test')
-rw-r--r--test/testFuncs3.c29
-rw-r--r--test/testFuncs3.h31
2 files changed, 60 insertions, 0 deletions
diff --git a/test/testFuncs3.c b/test/testFuncs3.c
new file mode 100644
index 0000000..ee0e2c4
--- /dev/null
+++ b/test/testFuncs3.c
@@ -0,0 +1,29 @@
+
+#include "testFuncs3.h"
+#include <complex.h>
+
+void tddfunc1 (void)
+{
+ double complex z1 = 10.0 + 10.0 * I;
+ double complex z2 = 1.0 - 4.0 * I;
+
+ float complex z3;
+
+ int complex iz1;
+ long int complex iz2;
+ unsigned int complex iz3;
+ signed int complex iz4;
+ signed int n1;
+ unsigned int n2;
+
+ z3 = z2;
+ z2 = z3;
+
+ iz1 = iz2;
+ iz2 = iz1;
+
+ iz3 = iz4;
+ iz2 = iz3;
+
+ n1 = n2;
+} \ No newline at end of file
diff --git a/test/testFuncs3.h b/test/testFuncs3.h
new file mode 100644
index 0000000..17ef5dd
--- /dev/null
+++ b/test/testFuncs3.h
@@ -0,0 +1,31 @@
+
+#if 0
+#include <assert.h>
+#include <complex.h>
+#include <ctype.h>
+#include <errno.h>
+#include <fenv.h>
+#include <float.h>
+#include <inttypes.h>
+#include <iso646.h>
+#include <limits.h>
+#include <locale.h>
+#include <math.h>
+#include <setjmp.h>
+#include <signal.h>
+#include <stdalign.h>
+#include <stdarg.h>
+#include <stdatomic.h>
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdnoreturn.h>
+#include <string.h>
+#include <tgmath.h>
+#include <time.h>
+#include <uchar.h>
+#include <wchar.h>
+#include <wctype.h>
+#endif \ No newline at end of file