working on removing undefined beaviour in configureMAC

This commit is contained in:
Erik Frojdh
2019-01-11 16:56:31 +01:00
parent 5ea5e83236
commit b7582e93d3
5 changed files with 56 additions and 45 deletions

View File

@@ -87,4 +87,10 @@ TEST_CASE("concatenate non empty strings with one element"){
REQUIRE(vec.size()==5);
auto ret = sls::concatenateNonEmptyStrings(vec);
REQUIRE(ret=="hej+");
}
TEST_CASE("Convert ip address"){
std::string address = "101.255.103.1";
REQUIRE(sls::stringIpToHex(address) == "65ff6701");
}