diff options
author | bloodstalker <thabogre@gmail.com> | 2016-12-03 10:28:32 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-12-03 10:28:32 +0000 |
commit | 869e0f0abf6ec4f7a224276b21c5153d36dfcbc6 (patch) | |
tree | 517abf62883dc415bc3dc33163fc3d4cd5684eab /test/main.c | |
parent | added quite a few more rule checks (diff) | |
download | mutator-869e0f0abf6ec4f7a224276b21c5153d36dfcbc6.tar.gz mutator-869e0f0abf6ec4f7a224276b21c5153d36dfcbc6.zip |
added tdd tests
Diffstat (limited to 'test/main.c')
-rw-r--r-- | test/main.c | 122 |
1 files changed, 62 insertions, 60 deletions
diff --git a/test/main.c b/test/main.c index 7b7c6d6..89bccc2 100644 --- a/test/main.c +++ b/test/main.c @@ -11,70 +11,72 @@ /*main*/ main() { - int a; - int b; - int int1; - int int2; - blreplacement bool1; - blreplacement bool2; - blreplacement decision1; - blreplacement decision2; - int level; - int aa; - int bb; - double cc; + int a; + int b; + int int1; + int int2; + blreplacement bool1; + blreplacement bool2; + blreplacement decision1; + blreplacement decision2; + int level; + int aa; + int bb; + double cc; - testFuncStatementsinmple(); - testFuncStatementComplexIf(); - testFuncStatementNotCoverage (); - testFuncLoopFor (); - testFuncLoopWhile (); - testFuncContinue (); - testFuncBreak (); - testFuncGoto (); - testFuncNotReturn (a, b); - testFuncMultiLineStatement (); - testFuncMultipleStatement (); - testFuncMultipleStatementNot (); - testFuncCompOpti1 (); - testFuncCompOpti2 (); - testFuncCompOpti3 (); - testFuncCompOpti4 (); - testFuncStatementDecl1 (); - testFuncStatementInt1 (int1, int2); - testFuncStatementbool1 (bool1 , bool2); - testFuncStatementbool2 (bool1 , bool2); - testFuncStatementDecision1 (decision1, decision2); - testFuncShortCircuit (bool1, bool2); - testFuncMCDC1 (decision1, decision2); + testFuncStatementsinmple(); + testFuncStatementComplexIf(); + testFuncStatementNotCoverage (); + testFuncLoopFor (); + testFuncLoopWhile (); + testFuncContinue (); + testFuncBreak (); + testFuncGoto (); + testFuncNotReturn (a, b); + testFuncMultiLineStatement (); + testFuncMultipleStatement (); + testFuncMultipleStatementNot (); + testFuncCompOpti1 (); + testFuncCompOpti2 (); + testFuncCompOpti3 (); + testFuncCompOpti4 (); + testFuncStatementDecl1 (); + testFuncStatementInt1 (int1, int2); + testFuncStatementbool1 (bool1 , bool2); + testFuncStatementbool2 (bool1 , bool2); + testFuncStatementDecision1 (decision1, decision2); + testFuncShortCircuit (bool1, bool2); + testFuncMCDC1 (decision1, decision2); #if (TRUE == INLINE) - testFuncMultiInstantiation (level); + testFuncMultiInstantiation (level); #endif - testFuncQMark (int1, int2); - testFuncCallBool (); + testFuncQMark (int1, int2); + testFuncCallBool (); - test3(); - test4 (aa, bb, cc); - test5(); - test6(); - test7(); - test8(); - test10(); - test13(); - test15(); - test17(); - test19(); - test20(); - test21(); - test22(); - test23(); - test24(); - test25(); - test26(); - test27(); - test28(); - test29(a); - test31(); + test3(); + test4 (aa, bb, cc); + test5(); + test6(); + test7(); + test8(); + test10(); + test13(); + test15(); + test17(); + test19(); + test20(); + test21(); + test22(); + test23(); + test24(); + test25(); + test26(); + test27(); + test28(); + test29(a); + test31(); + + malloc(); } /*********************************************************************************************************************/ /*intentionally left blank.*/ |