diff options
| author | bloodstalker <thabogre@gmail.com> | 2016-12-24 13:45:45 +0000 | 
|---|---|---|
| committer | bloodstalker <thabogre@gmail.com> | 2016-12-24 13:45:45 +0000 | 
| commit | 79596af0006624458c7ce9ed7a73c3b9ade6e8a2 (patch) | |
| tree | fa536f046a7cf3f7ec9527186d14c6005a0331b6 | |
| parent | added 8.7 (diff) | |
| download | mutator-79596af0006624458c7ce9ed7a73c3b9ade6e8a2.tar.gz mutator-79596af0006624458c7ce9ed7a73c3b9ade6e8a2.zip | |
added tdd tests for 8.7
| -rw-r--r-- | test/testFuncs2.c | 20 | 
1 files changed, 19 insertions, 1 deletions
| diff --git a/test/testFuncs2.c b/test/testFuncs2.c index 81b0102..493a85e 100644 --- a/test/testFuncs2.c +++ b/test/testFuncs2.c @@ -81,6 +81,10 @@ typedef gaga incompletearr1;  int incompletearr1[];  int incompletearr2[]; +int dudu; +int bubu; +int fufu; +  int incompletearr1[10];  union u3; @@ -92,6 +96,14 @@ union u3    char ub;  }; +union yizzy +{ +  int ua; +  char ub; +}; + +double yizzy; +  double u3;  double ua; @@ -114,6 +126,9 @@ static void test33(void)    short int a;    long int b; +  int sum; + +  sum = dudu + bubu + fufu;    MINUS(a, b);    //MINUS(a); @@ -126,6 +141,9 @@ void testfunc1(void)    unsigned char a;    unsigned char b;    char c; +  int sum; + +  sum = sum + dudu + fufu;    b =  a;    c = 123; @@ -149,7 +167,7 @@ testfunc2(void)    int b;    int sum; -  sum = a + b; +  sum = a + b + dudu;  }  void testfunc3() | 
