We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a861a6 commit 08eab0fCopy full SHA for 08eab0f
src/test/fuzz/netaddress.cpp
@@ -123,4 +123,12 @@ void test_one_input(const std::vector<uint8_t>& buffer)
123
124
const CService other_service{net_addr, fuzzed_data_provider.ConsumeIntegral<uint16_t>()};
125
assert((service == other_service) != (service != other_service));
126
+ (void)(service < other_service);
127
+
128
+ const CSubNet sub_net_copy_1{net_addr, other_net_addr};
129
+ const CSubNet sub_net_copy_2{net_addr};
130
131
+ CNetAddr mutable_net_addr;
132
+ mutable_net_addr.SetIP(net_addr);
133
+ assert(net_addr == mutable_net_addr);
134
}
0 commit comments