From 1d860098dd5b0f0c23379aae66256b41be01da62 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 25 Nov 2016 16:58:53 +0330 Subject: added tdd tests for 13.3 --- test/main.c | 1 + test/testFuncs1.c | 19 +++++++++++++++++++ test/testFuncs1.h | 1 + 3 files changed, 21 insertions(+) (limited to 'test') diff --git a/test/main.c b/test/main.c index 1757639..c8fdad0 100644 --- a/test/main.c +++ b/test/main.c @@ -71,5 +71,6 @@ main() test23(); test24(); test25(); + test26(); } /*intentionally left blank.*/ diff --git a/test/testFuncs1.c b/test/testFuncs1.c index dcfbf4e..1a9dbb2 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -966,5 +966,24 @@ void test25(void) } } +void test26 (void) +{ + double a; + double b; + double c; + unsigned char d; + + if (a == b) + {} + + if (a < b) + {} + + if (c >= a) + {} + + d = (a <= c); +} + /**********************************************************************************************************************/ /*the last line's been intentionally left blank.*/ diff --git a/test/testFuncs1.h b/test/testFuncs1.h index aff491a..356b2cc 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -121,6 +121,7 @@ void test22(void); void test23(void); void test24(void); void test25(void); +void test26(void); /***********************************************************************************************************/ /*ive been intentionally left blank. dont touch me.*/ -- cgit v1.2.3