diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-24 20:26:09 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-24 20:26:09 +0000 |
commit | 30c04ade5e94821b1054bd5be624e44144713270 (patch) | |
tree | 8bac26bbc51ff7d296826e2cab2d261815b7232f /test | |
parent | added 12.6 and 12.7 (diff) | |
download | mutator-30c04ade5e94821b1054bd5be624e44144713270.tar.gz mutator-30c04ade5e94821b1054bd5be624e44144713270.zip |
added tdd tests for 12.6 and 12.7
Diffstat (limited to '')
-rw-r--r-- | test/testFuncs1.c | 19 | ||||
-rw-r--r-- | test/testFuncs1.h | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 8c05582..1bbc24c 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -12,6 +12,7 @@ #define LOCO 2U
typedef unsigned int ut_int;
+typedef signed int t_int;
typedef unsigned char BYTE;
/******************************************************Globals*********************************************************/
@@ -893,5 +894,23 @@ void test19(void) }
+void test20(void)
+{
+ signed int a;
+ unsigned int b;
+ signed char c;
+ unsigned char d;
+ t_int e;
+ ut_int f;
+
+ b = b >> 2;
+ a = a << 3U;
+ b = b ^ 2U;
+ c = c & 6U;
+ d = d | 2U;
+ e = e >> 2U;
+ f = f << 4U;
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h index 8457f87..78dfa42 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -115,6 +115,7 @@ int test13(void); void test15(void);
void test17(void);
void test19(void);
+void test20(void);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/
|