Lines Matching defs:UnsignedLong
29 * Tests for {@code UnsignedLong}.
65 UnsignedLongs.toString(value), value, UnsignedLong.fromLongBits(value).longValue());
75 UnsignedLong.fromLongBits(value).bigIntegerValue());
83 assertEquals(value, UnsignedLong.valueOf(value).longValue());
93 BigInteger max = UnsignedLong.MAX_VALUE.bigIntegerValue();
98 assertEquals(big, UnsignedLong.valueOf(big).bigIntegerValue());
108 UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
117 UnsignedLong value = UnsignedLong.fromLongBits(l);
127 UnsignedLong value = UnsignedLong.fromLongBits(l);
135 UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
142 UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
150 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
151 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
156 UnsignedLong unsignedSum = aUnsigned.plus(bUnsigned);
165 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
166 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
171 UnsignedLong unsignedSub = aUnsigned.minus(bUnsigned);
180 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
181 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
186 UnsignedLong unsignedMul = aUnsigned.times(bUnsigned);
196 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
197 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
202 UnsignedLong unsignedDiv = aUnsigned.dividedBy(bUnsigned);
213 UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO);
223 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
224 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
229 UnsignedLong unsignedRem = aUnsigned.mod(bUnsigned);
240 UnsignedLong.fromLongBits(a).mod(UnsignedLong.ZERO);
249 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
250 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
263 equalsTester.addEqualityGroup(UnsignedLong.fromLongBits(a), UnsignedLong.valueOf(big),
264 UnsignedLong.valueOf(big.toString()), UnsignedLong.valueOf(big.toString(16), 16));
271 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
280 SerializableTester.reserializeAndAssert(UnsignedLong.fromLongBits(a));
286 new NullPointerTester().testAllPublicStaticMethods(UnsignedLong.class);