From e219925fac2d9b0b054445ac9c094d51ae30fd17 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 8 Nov 2022 10:55:42 +1100 Subject: WIP use catch2 instead of unity --- src/drivers/test/test_example.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers/test/test_example.cpp') 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 ); } -- cgit v1.2.3