diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-28 21:49:59 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-28 21:49:59 +0000 |
commit | 7eaa5df0fa139eedb5076e9004286ce0c45ca240 (patch) | |
tree | 752ccd76cdafa7c8a23690283f1b0b436fb5d54f /test/testFuncs2.c | |
parent | added 16.5 (diff) | |
download | mutator-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.c | 50 |
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 |