@Test
public void testToUInt64Array() {

	long[] values = Primitive.toUInt64(new BigInteger[] {
			BigInteger.valueOf(0l), BigInteger.valueOf(5l),
			BigInteger.valueOf(10l), BigInteger.valueOf(15l),
			new BigInteger("18446744073709551615") });
	assertEquals(0l, values[0]);
	assertEquals(5l, values[1]);
	assertEquals(10l, values[2]);
	assertEquals(15l, values[3]);
	assertEquals(-1l, values[4]);
}