diff options
| author | hathach <[email protected]> | 2018-12-14 15:45:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-14 15:45:49 +0700 |
| commit | 351f0d7d7891f5494d761e7782fe2c7a34a4ad90 (patch) | |
| tree | e5604a28eff925ac190000def41d98f76bc2a405 /tests | |
| parent | 2a60427bdc7d23d7c1ab1e687f5a8d9555a69f15 (diff) | |
merge binary.h into tusb_common.h
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lpc18xx_43xx/test/test_binary.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/lpc18xx_43xx/test/test_binary.c b/tests/lpc18xx_43xx/test/test_binary.c index fbe2083b0..cd9bd1e54 100644 --- a/tests/lpc18xx_43xx/test/test_binary.c +++ b/tests/lpc18xx_43xx/test/test_binary.c @@ -100,10 +100,3 @@ void test_bit_clear(void) TEST_ASSERT_EQUAL_HEX32( TU_BIN8(00001001), tu_bit_clear( TU_BIN8(00001101), 2)); TEST_ASSERT_EQUAL_HEX32( TU_BIN8(00001101), tu_bit_clear( TU_BIN8(10001101), 7)); } - -void test_bit_mask(void) -{ - TEST_ASSERT_EQUAL_HEX32(0x0000ffff, tu_bit_mask(16)); - TEST_ASSERT_EQUAL_HEX32(0x00ffffff, tu_bit_mask(24)); - TEST_ASSERT_EQUAL_HEX32(0xffffffff, tu_bit_mask(32)); -} |
