diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-25 00:20:06 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-25 00:20:06 +0000 |
commit | eced3fafc64f64e813206929421924b590da5f76 (patch) | |
tree | d0a5c18e6e62b4f70623de3fd0cea53977b1850e /test | |
parent | new main file for the tdd tests (diff) | |
download | mutator-eced3fafc64f64e813206929421924b590da5f76.tar.gz mutator-eced3fafc64f64e813206929421924b590da5f76.zip |
new tdd tests for 12.8
Diffstat (limited to 'test')
-rw-r--r-- | test/testFuncs1.c | 13 | ||||
-rw-r--r-- | test/testFuncs1.h | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 1bbc24c..0d55730 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -4,7 +4,7 @@ /*include*/
/**********************************************************************************************************************/
#include "testFuncs1.h"
-//#include <string.h>
+#include <string.h>
/**************************************************MACROS & DEFS*******************************************************/
/**********************************************************************************************************************/
@@ -15,6 +15,8 @@ typedef unsigned int ut_int; typedef signed int t_int;
typedef unsigned char BYTE;
+const unsigned int shift = 10U;
+
/******************************************************Globals*********************************************************/
/**********************************************************************************************************************/
@@ -912,5 +914,14 @@ void test20(void) f = f << 4U;
}
+void test21(void)
+{
+ unsigned int a;
+ a = a >> 44U;
+ a = a >> shift;
+ a <<= 10U;
+ a << 45U;
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h index 78dfa42..0961101 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -116,6 +116,7 @@ void test15(void); void test17(void);
void test19(void);
void test20(void);
+void test21(void);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/
|