mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-27 13:52:14 +00:00
WIP: Major refactor of unit and integration tests
This commit is contained in:
1 parent
fe687d391b
commit
b8be484624
53 files changed
+1748
-2211
No files matched your search
@@ -11,14 +11,6 @@
|
||||
// Use MsgPack's native binary type
|
||||
using BinaryBuffer = MsgPack::bin_t<uint8_t>;
|
||||
|
||||
void setUp(void) {
|
||||
// set stuff up here before each test
|
||||
}
|
||||
|
||||
void tearDown(void) {
|
||||
// clean stuff up here after each test
|
||||
}
|
||||
|
||||
void test_msgpack_array_packing(void) {
|
||||
// Test data setup
|
||||
float testFloat = 3.14159f;
|
||||
@@ -239,6 +231,15 @@ void test_unpack_float_python() {
|
||||
TEST_ASSERT_EQUAL_FLOAT(123.456, time);
|
||||
}
|
||||
|
||||
|
||||
void setUp(void) {
|
||||
// set stuff up here before each test
|
||||
}
|
||||
|
||||
void tearDown(void) {
|
||||
// clean stuff up here after each test
|
||||
}
|
||||
|
||||
int runUnityTests(void) {
|
||||
UNITY_BEGIN();
|
||||
RUN_TEST(test_msgpack_array_packing);
|
||||
|
||||
Reference in new issue
Block a user