aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-02-08 09:12:42 +0000
committerbloodstalker <thabogre@gmail.com>2017-02-08 09:12:42 +0000
commit6da73a8f5c41eb317aeef418608a259d7b0f310b (patch)
treea24ceb1ed677b210fe8ade64243a55c9fd65b864 /test
parentadded 19.8 (diff)
downloadmutator-6da73a8f5c41eb317aeef418608a259d7b0f310b.tar.gz
mutator-6da73a8f5c41eb317aeef418608a259d7b0f310b.zip
added tdd for 19.8
Diffstat (limited to 'test')
-rw-r--r--test/testFuncs2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c
index f8c9bd2..f03aea3 100644
--- a/test/testFuncs2.c
+++ b/test/testFuncs2.c
@@ -31,6 +31,7 @@ typedef gaga incompletearr1;
#define ABSOLUTE3(XMACRO) (((XMACRO) <= 0) ? (XMACRO) : -(XMACRO))
#define MINUS(X, Y) ((X) - (Y))
#define PRINT(bubba) printf(#bubba "%d\n", bubba)
+#define ALLARG(Z,W) int Z##W
#define LOCO i##nt
#define LOCO2 #LOCO2
#define LOCO3(bubba) printf(#bubba "%d\n", bu##bba)
@@ -154,6 +155,9 @@ static void test33(void) {
MINUS(a, b);
// MINUS(a);
+ ALLARG(z, );
+ ABSOLUTE(z);
+
b = (int)a;
/* contrast the above START + LEN with the following */