mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
test: add IsRFC2544 tests
This commit is contained in:
parent
419ef3b7cc
commit
529d332fbf
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ BOOST_AUTO_TEST_CASE(netbase_properties)
|
|||
BOOST_CHECK(ResolveIP("10.0.0.1").IsRFC1918());
|
||||
BOOST_CHECK(ResolveIP("192.168.1.1").IsRFC1918());
|
||||
BOOST_CHECK(ResolveIP("172.31.255.255").IsRFC1918());
|
||||
BOOST_CHECK(ResolveIP("198.18.0.0").IsRFC2544());
|
||||
BOOST_CHECK(ResolveIP("198.19.255.255").IsRFC2544());
|
||||
BOOST_CHECK(ResolveIP("2001:0DB8::").IsRFC3849());
|
||||
BOOST_CHECK(ResolveIP("169.254.1.1").IsRFC3927());
|
||||
BOOST_CHECK(ResolveIP("2002::1").IsRFC3964());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue