def METHOD_NAME(self) -> None:
    """Check adding IPv4 and IPv6 addresses."""
    # IPv4 address
    ip_set = generate_ip_set(("1.2.3.4",))
    self.assertEqual(len(ip_set.iter_cidrs()), 4)
    # IPv4 CIDR
    ip_set = generate_ip_set(("1.2.3.4/24",))
    self.assertEqual(len(ip_set.iter_cidrs()), 4)
    # IPv6 address
    ip_set = generate_ip_set(("2001:db8::8a2e:370:7334",))
    self.assertEqual(len(ip_set.iter_cidrs()), 1)
    # IPv6 CIDR
    ip_set = generate_ip_set(("2001:db8::/104",))
    self.assertEqual(len(ip_set.iter_cidrs()), 1)
    # The addresses can overlap OK.
    ip_set = generate_ip_set(("1.2.3.4", "::1.2.3.4"))
    self.assertEqual(len(ip_set.iter_cidrs()), 4)