Searched defs:two (Results 1 - 5 of 5) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
H A DOldBigIntegerTest.java27 BigInteger two = new BigInteger("2", 10); field in class:OldBigIntegerTest
53 assertTrue("Random number is too big", bi.compareTo(two.pow(70)) < 0);
180 assertFalse("isProbablePrime failed for product of two large primes" +
206 assertFalse("isProbablePrime failed for product of two large primes" +
299 assertTrue("1+1", BigInteger.ONE.add(BigInteger.ONE).equals(two));
H A DBigIntegerTest.java33 BigInteger two = new BigInteger("2", 10); field in class:BigIntegerTest
46 BigInteger twoToTheSeventy = two.pow(70);
111 .setBit(16).subtract(two)));
125 .setBit(16).subtract(two)));
128 .setBit(16).subtract(two).negate()));
232 assertTrue("Smaller number returned >= 0", one.compareTo(two) < 0);
233 assertTrue("Larger number returned >= 0", two.compareTo(one) > 0);
236 two.negate().compareTo(one) < 0);
245 assertTrue("Incorrect intValue for 2", two.intValue() == 2);
254 assertTrue("Incorrect longValue for 2", two
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationTestClass.java105 public int two; field in class:SerializationTestClass.TestFieldsTwoPublic
116 private int two; field in class:SerializationTestClass.TestFieldsTwoPrivate
125 protected int two; field in class:SerializationTestClass.TestFieldsTwoProtected
134 static int two; field in class:SerializationTestClass.TestFieldsTwoStatic
143 final int two = 0; field in class:SerializationTestClass.TestFieldsTwoFinal
152 volatile int two; field in class:SerializationTestClass.TestFieldsTwoVolatile
161 transient int two; field in class:SerializationTestClass.TestFieldsTwoTransient
/libcore/jsr166-tests/src/test/java/jsr166/
H A DJSR166TestCase.java90 * a simple sentence or two describing the property that the testcase
486 public static final Integer two = new Integer(2); field in class:JSR166TestCase
/libcore/benchmarks/libs/
H A Dcaliper.jar ... .base.Supplier testSupplier long one long oneAllocations long two long twoAllocations long expectedDiff long unitsToIgnore com.google. ...

Completed in 335 milliseconds