use core::net::{Ipv4Addr, Ipv6Addr};
use ipnet::{IpNet, Ipv4Net, Ipv6Net};
use super::RFC;
const IPV4_1: Ipv4Net = Ipv4Net::new_assert(Ipv4Addr::new(192, 88, 99, 0), 24);
const IPV6_1: Ipv6Net = Ipv6Net::new_assert(Ipv6Addr::new(8194, 49240, 25345, 0, 0, 0, 0, 0), 120);
pub const RFC3068: RFC = RFC {
id: 3068,
ip_nets: &[IpNet::V4(IPV4_1), IpNet::V6(IPV6_1)],
ipv4_nets: &[IPV4_1],
ipv6_nets: &[IPV6_1],
};
#[test]
fn t() {
let addr: Ipv4Net = "192.88.99.0/24".parse().unwrap();
assert_eq!(IPV4_1, addr);
let addr: Ipv6Net = "2002:c058:6301::/120".parse().unwrap();
assert_eq!(IPV6_1, addr);
}