mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
Dev/fix port size (#805)
* port datatype changing from int to uint16_t * throwing for -1 given for uint16_t ports
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
namespace sls {
|
||||
|
||||
TEST_CASE("Throws when cannot create socket") {
|
||||
REQUIRE_THROWS(ZmqSocket("sdiasodjajpvv", 5076001));
|
||||
REQUIRE_THROWS(ZmqSocket("sdiasodjajpvv", 50001));
|
||||
}
|
||||
|
||||
TEST_CASE("Get port number for sub") {
|
||||
|
@ -115,7 +115,7 @@ TEST_CASE("Copy construct a MacAddr") {
|
||||
}
|
||||
|
||||
TEST_CASE("udp dst struct basic properties") {
|
||||
static_assert(sizeof(UdpDestination) == 36,
|
||||
static_assert(sizeof(UdpDestination) == 32,
|
||||
"udpDestination struct size does not match");
|
||||
UdpDestination dst{};
|
||||
REQUIRE(dst.entry == 0);
|
||||
|
Reference in New Issue
Block a user