mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
UDP struct uses IpAddr and MacAddr
This commit is contained in:
@ -112,4 +112,12 @@ TEST_CASE("Copy construct a MacAddr") {
|
||||
CHECK(addr == addr2);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("udp dst struct"){
|
||||
static_assert(sizeof(UdpDestination) == 36);
|
||||
UdpDestination dst{};
|
||||
REQUIRE(dst.ip == 0);
|
||||
}
|
||||
|
||||
|
||||
// TODO!(Erik) Look up a real hostname and verify the IP
|
||||
|
Reference in New Issue
Block a user