diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2020-11-24 13:46:41 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2020-11-24 13:46:41 -0700 |
commit | 93b063fedfcf7409a67df035170ea5670cad22e1 (patch) | |
tree | a23321a7465d966b1ccf196ca00e65a70c9f9110 /02-usart/tests/test_lib.c | |
parent | b040195d31df6ad759f16ea3456471897f55daa1 (diff) | |
download | stm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.tar.gz stm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.tar.bz2 stm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.zip |
Moved action to top level.
Removed old iterations of the project and moved the files from 02-usart
to the root directory since that's the sole place where the action is
and that subproject has outgrown its initial title.
Diffstat (limited to '02-usart/tests/test_lib.c')
-rw-r--r-- | 02-usart/tests/test_lib.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/02-usart/tests/test_lib.c b/02-usart/tests/test_lib.c deleted file mode 100644 index 33076c2..0000000 --- a/02-usart/tests/test_lib.c +++ /dev/null @@ -1,21 +0,0 @@ -#include "test_harness.h" -#include "kern/lib.h" - -TEST(lib, hexify) -{ - char buf[10]; - - hexify(0xaaaaaaaa, buf); - ASSERT_EQ_STR(buf, "AAAAAAAA"); - - hexify(0xdddddddd, buf); - ASSERT_EQ_STR(buf, "DDDDDDDD"); - - hexify(0x02468ace, buf); - ASSERT_EQ_STR(buf, "02468ACE"); - - hexify(0xdeadbeef, buf); - ASSERT_EQ_STR(buf, "DEADBEEF"); - - return 0; -} |