Add tests for #71

develop^2
Geoffrey Merck 1 month ago
parent 26a40a7ab0
commit a4f459e2fb

@ -25,6 +25,14 @@ namespace APRSUtilsTests
class APRSUtils_dstarCallsignToAPRS : public ::testing::Test {
};
TEST_F(APRSUtils_dstarCallsignToAPRS, emptyString)
{
std::string call("");
CAPRSUtils::dstarCallsignToAPRS(call);
EXPECT_STRCASEEQ(call.c_str(), "") << "Call shall be empty";
}
TEST_F(APRSUtils_dstarCallsignToAPRS, noBlanks)
{
std::string call("N0CALL");

Loading…
Cancel
Save

Powered by TurnKey Linux.