mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
clang format
This commit is contained in:
@ -114,19 +114,16 @@ TEST_CASE("Copy construct a MacAddr") {
|
||||
CHECK(addr == addr2);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("udp dst struct basic properties"){
|
||||
TEST_CASE("udp dst struct basic properties") {
|
||||
static_assert(sizeof(UdpDestination) == 36);
|
||||
UdpDestination dst{};
|
||||
REQUIRE(dst.entry == 0);
|
||||
REQUIRE(dst.port == 0);
|
||||
REQUIRE(dst.port2 == 0);
|
||||
REQUIRE(dst.ip == 0);
|
||||
REQUIRE(dst.ip2 == 0);
|
||||
REQUIRE(dst.mac == 0);
|
||||
REQUIRE(dst.mac2 == 0);
|
||||
|
||||
REQUIRE(dst.entry == 0);
|
||||
REQUIRE(dst.port == 0);
|
||||
REQUIRE(dst.port2 == 0);
|
||||
REQUIRE(dst.ip == 0);
|
||||
REQUIRE(dst.ip2 == 0);
|
||||
REQUIRE(dst.mac == 0);
|
||||
REQUIRE(dst.mac2 == 0);
|
||||
}
|
||||
|
||||
|
||||
// TODO!(Erik) Look up a real hostname and verify the IP
|
||||
|
Reference in New Issue
Block a user