From ee25cff7ec383a0ee9d8903e7afd702f66c1c7e7 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 25 Nov 2016 03:49:41 +0330 Subject: new main file for the tdd tests --- test/main.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 test/main.c diff --git a/test/main.c b/test/main.c new file mode 100644 index 0000000..b233546 --- /dev/null +++ b/test/main.c @@ -0,0 +1,71 @@ + +/*intentionally left blank.*/ +#include "testFuncs1.h" +#include + +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; + + 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); +#endif + testFuncQMark (int1, int2); + testFuncCallBool (); + + im_a_mlaign_func (); + im_a_benign_func (); + im_a_dummy (); + im_a_minion_01 (); + im_a_minion_02 (); + im_a_minion_03 (); + + test3(); + test4 (aa, bb, cc); + test5(); + test6(); + test7(); + test8(); + test10(); + test13(); + test15(); + test17(); + test19(); + test20(); + test21(); +} +/*intentionally left blank.*/ -- cgit v1.2.3