From 91325080d96f721b290223420d224135cda40358 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 11 Jun 2024 10:37:07 +0200 Subject: move files (keep history for pbdrv/main.cpp) --- test/pbdrv/main.cpp | 18 ------------------ test/pbdrv/write.cpp | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 test/pbdrv/main.cpp create mode 100644 test/pbdrv/write.cpp (limited to 'test/pbdrv') diff --git a/test/pbdrv/main.cpp b/test/pbdrv/main.cpp deleted file mode 100644 index de7e88a..0000000 --- a/test/pbdrv/main.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include - -#include "pb-write.h" - -TEST(pbdrv, write) { - - pbdrv_buf_t buf = pbdrv_write_cmd_req_set_state({ - .header = { .sender = 0xf0, }, - .state = PB_GS_PLAYING, - }); - for (size_t i = 0; i < buf.size; i++) { - printf("%02x ", buf.data[i] & 0xff); - } - printf("\n"); - - ASSERT_TRUE(true); -} - diff --git a/test/pbdrv/write.cpp b/test/pbdrv/write.cpp new file mode 100644 index 0000000..de7e88a --- /dev/null +++ b/test/pbdrv/write.cpp @@ -0,0 +1,18 @@ +#include + +#include "pb-write.h" + +TEST(pbdrv, write) { + + pbdrv_buf_t buf = pbdrv_write_cmd_req_set_state({ + .header = { .sender = 0xf0, }, + .state = PB_GS_PLAYING, + }); + for (size_t i = 0; i < buf.size; i++) { + printf("%02x ", buf.data[i] & 0xff); + } + printf("\n"); + + ASSERT_TRUE(true); +} + -- cgit v1.2.3