mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-16 09:31:19 +01:00
working on removing undefined beaviour in configureMAC
This commit is contained in:
@@ -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");
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user