// Path: commons-ip-math/src/main/java/com/github/jgonian/ipmath/Ipv6.java
// public static final Ipv6 FIRST_IPV6_ADDRESS = Ipv6.of(MINIMUM_VALUE);
// 
// Path: commons-ip-math/src/main/java/com/github/jgonian/ipmath/Ipv6.java
// public static final Ipv6 LAST_IPV6_ADDRESS = Ipv6.of(MAXIMUM_VALUE);


import static com.github.jgonian.ipmath.Ipv6.FIRST_IPV6_ADDRESS;
import static com.github.jgonian.ipmath.Ipv6.LAST_IPV6_ADDRESS;
import static java.math.BigInteger.ONE;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

    @Test(expected = IllegalArgumentException.class)
    public void shouldFailToParseDecimalNotationWhenSingleResource() {
        Ipv6Range.parseDecimalNotation("1");
    }

    @Test
    @Override
    public void testToString() {
        assertEquals("::1-::3", new Ipv6Range(ip1, ip3).toString());
        assertEquals("::/0", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toString());
    }

    @Test
    public void testToStringInRangeNotation() {
        assertEquals("::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toStringInRangeNotation());
    }

    @Test
    public void testToStringInRangeNotationWithSpaces() {
        assertEquals(":: - ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toStringInRangeNotationWithSpaces());
    }

    @Test
    public void testToStringInCidrNotation() {
        assertEquals("::/0", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toStringInCidrNotation());
    }

    @Test
    public void testToStringInDecimalNotation() {
// Path: commons-ip-math/src/main/java/com/github/jgonian/ipmath/Ipv6.java
// public static final Ipv6 FIRST_IPV6_ADDRESS = Ipv6.of(MINIMUM_VALUE);
// 
// Path: commons-ip-math/src/main/java/com/github/jgonian/ipmath/Ipv6.java
// public static final Ipv6 LAST_IPV6_ADDRESS = Ipv6.of(MAXIMUM_VALUE);


// Path: commons-ip-math/src/test/java/com/github/jgonian/ipmath/Ipv6RangeTest.java
import static com.github.jgonian.ipmath.Ipv6.FIRST_IPV6_ADDRESS;
import static com.github.jgonian.ipmath.Ipv6.LAST_IPV6_ADDRESS;
import static java.math.BigInteger.ONE;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;


    @Test(expected = IllegalArgumentException.class)
    public void shouldFailToParseDecimalNotationWhenSingleResource() {
        Ipv6Range.parseDecimalNotation("1");
    }

    @Test
    @Override
    public void testToString() {
        assertEquals("::1-::3", new Ipv6Range(ip1, ip3).toString());
        assertEquals("::/0", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toString());
    }

    @Test
    public void testToStringInRangeNotation() {
        assertEquals("::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toStringInRangeNotation());
    }

    @Test
    public void testToStringInRangeNotationWithSpaces() {
        assertEquals(":: - ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toStringInRangeNotationWithSpaces());
    }

    @Test
    public void testToStringInCidrNotation() {
        assertEquals("::/0", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toStringInCidrNotation());
    }

    @Test
    public void testToStringInDecimalNotation() {
        assertEquals("0-340282366920938463463374607431768211455", new Ipv6Range(FIRST_IPV6_ADDRESS, LAST_IPV6_ADDRESS).toStringInDecimalNotation());