diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-23 20:49:35 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-23 20:49:35 +0000 |
commit | a45ab7b95b6e075de035c3225628e6dc09106cae (patch) | |
tree | 8c81374d803d12215309b524238ea110d9ff9068 /test | |
parent | added 12.3 (diff) | |
download | mutator-a45ab7b95b6e075de035c3225628e6dc09106cae.tar.gz mutator-a45ab7b95b6e075de035c3225628e6dc09106cae.zip |
updated tdd tests for 12.3
Diffstat (limited to 'test')
-rw-r--r-- | test/testFuncs1.c | 18 | ||||
-rw-r--r-- | test/testFuncs1.h | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 1efb4de..2480afa 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -818,5 +818,23 @@ void test15(void) enum primeevil {diablo = 2, mephisto = 3, baal = 4};
}
+short int test16(int a, int b)
+{
+ short int sum;
+ short unsigned int sumus;
+ sum = a + b;
+ sumus = a + b;
+
+ return sum;
+}
+
+void test17(void)
+{
+ int a = 100;
+ int b = 1000;
+ long int longa;
+ a = sizeof (b = 2000U);
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h index 4b590f8..ea5bb13 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -113,6 +113,7 @@ void test8(void); void test10(void);
int test13(void);
void test15(void);
+void test17(void);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/
|