Skip to content

Commit 529d332

Browse files
author
Mark Tyneway
committed
test: add IsRFC2544 tests
1 parent 419ef3b commit 529d332

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/netbase_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ BOOST_AUTO_TEST_CASE(netbase_properties)
5454
BOOST_CHECK(ResolveIP("10.0.0.1").IsRFC1918());
5555
BOOST_CHECK(ResolveIP("192.168.1.1").IsRFC1918());
5656
BOOST_CHECK(ResolveIP("172.31.255.255").IsRFC1918());
57+
BOOST_CHECK(ResolveIP("198.18.0.0").IsRFC2544());
58+
BOOST_CHECK(ResolveIP("198.19.255.255").IsRFC2544());
5759
BOOST_CHECK(ResolveIP("2001:0DB8::").IsRFC3849());
5860
BOOST_CHECK(ResolveIP("169.254.1.1").IsRFC3927());
5961
BOOST_CHECK(ResolveIP("2002::1").IsRFC3964());

0 commit comments

Comments
 (0)