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/luni/src/test/java/libcore/java/net/
H A DAbstractCookiesTest.java474 * RFC 2109 and RFC 2965 disagree here. 2109 says two equals strings match only if they are
475 * fully-qualified domain names. 2965 says two equal strings always match. We're testing for
729 private static void assertNotEquals(HttpCookie one, HttpCookie two) { argument
730 assertFalse(one.equals(two));
731 assertFalse(two.equals(one));
/libcore/jsr166-tests/src/test/java/jsr166/
H A DJSR166TestCase.java117 * a simple sentence or two describing the property that the testcase
1068 public static final Integer two = new Integer(2); field in class:JSR166TestCase

Completed in 609 milliseconds