From 7f3c164acb81946de9b63c7f081e9029fe98fe80 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 25 Nov 2016 14:07:13 +0330 Subject: added tdd tests for 13.1 and 13.2 --- test/main.c | 1 + test/testFuncs1.c | 12 ++++++++++++ test/testFuncs1.h | 1 + 3 files changed, 14 insertions(+) (limited to 'test') diff --git a/test/main.c b/test/main.c index 48a5b4c..1757639 100644 --- a/test/main.c +++ b/test/main.c @@ -70,5 +70,6 @@ main() test22(); test23(); test24(); + test25(); } /*intentionally left blank.*/ diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 04c598a..dcfbf4e 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -954,5 +954,17 @@ void test24(void) --a; } +void test25(void) +{ + int a; + int b; + int c; + + if (a - b) + { + /*i dont care.*/ + } +} + /**********************************************************************************************************************/ /*the last line's been intentionally left blank.*/ diff --git a/test/testFuncs1.h b/test/testFuncs1.h index d5fe757..aff491a 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -120,6 +120,7 @@ void test21(void); void test22(void); void test23(void); void test24(void); +void test25(void); /***********************************************************************************************************/ /*ive been intentionally left blank. dont touch me.*/ -- cgit v1.2.3