mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
ip test
This commit is contained in:
parent
c6651df1b2
commit
9a8773d9a5
@ -42,9 +42,9 @@ TEST_CASE("Hex representation of MAC", "[support]") {
|
||||
}
|
||||
|
||||
TEST_CASE("Convert IP using classes ", "[support]") {
|
||||
std::vector<uint32_t> vec_addr{4073554305, 2747957633, 2697625985};
|
||||
std::vector<uint32_t> vec_addr{4073554305, 2747957633, 2697625985, 16779786};
|
||||
std::vector<std::string> vec_ans{"129.129.205.242", "129.129.202.163",
|
||||
"129.129.202.160"};
|
||||
"129.129.202.160", "10.10.0.1"};
|
||||
|
||||
for (size_t i = 0; i != vec_addr.size(); ++i) {
|
||||
auto ip0 = IpAddr(vec_addr[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user