summaryrefslogtreecommitdiff
path: root/src/drivers/test/test_example.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-11-08 10:55:42 +1100
committerjacqueline <me@jacqueline.id.au>2022-11-08 10:55:42 +1100
commite219925fac2d9b0b054445ac9c094d51ae30fd17 (patch)
tree676c36f897a5eedcfa69ef9b98ceb5eeedb62b54 /src/drivers/test/test_example.cpp
parent1958b262ee84960c65ebf1d465c8c7d80e32b58c (diff)
downloadtangara-fw-e219925fac2d9b0b054445ac9c094d51ae30fd17.tar.gz
WIP use catch2 instead of unity
Diffstat (limited to 'src/drivers/test/test_example.cpp')
-rw-r--r--src/drivers/test/test_example.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/test/test_example.cpp b/src/drivers/test/test_example.cpp
index 2a43341a..34de41ed 100644
--- a/src/drivers/test/test_example.cpp
+++ b/src/drivers/test/test_example.cpp
@@ -1,9 +1,9 @@
-#include "unity.h"
+#include "catch2/catch.hpp"
TEST_CASE("Example test case", "[cooltag]") {
- TEST_ASSERT_EQUAL(0, 0);
+ REQUIRE ( 1 == 1 );
}
TEST_CASE("test that doesn't run", "[cooltag][ignore]") {
- TEST_ASSERT_EQUAL(0, 1);
+ REQUIRE ( 0 == 1 );
}