Skip to content

Commit

Permalink
add some unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Le Brun <[email protected]>
  • Loading branch information
ludovic-smile committed Jun 17, 2024
1 parent 84ffd98 commit e0a0518
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,11 @@ TEST(HNZConfig, TestGetLabel) {
HnzConfig config(protocol_stack, exchanged_data);
ASSERT_EQ(config.GetLabel("12",13), "");
ASSERT_EQ(config.GetLabel("TS",20), "SI_PRT.INFO");
}

TEST(HNZConfig, TestCmdDest) {

HnzConfig config(protocol_stack, exchanged_data);
ASSERT_EQ(config.CmdDest(), "");

}

0 comments on commit e0a0518

Please sign in to comment.