Skip to content

Commit

Permalink
better testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmelis committed Nov 25, 2023
1 parent 48de475 commit 371299a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_Datapoint/test_Datapoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ void tearDown() {}

void test_Converter() {
VitoWiFi::Converter* myConv = &VitoWiFi::div10;
VitoWiFi::Converter* myOtherConv = &VitoWiFi::div3600;

TEST_ASSERT_TRUE(*myConv == VitoWiFi::div10);
TEST_ASSERT_FALSE(*myOtherConv == VitoWiFi::div10);
}

void test_Bool() {
Expand Down

0 comments on commit 371299a

Please sign in to comment.