OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:minustwo
(Results
1 - 1
of
1
) sorted by null
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerTest.java
25
BigInteger
minusTwo
= new BigInteger("-2", 10);
114
assertTrue("Incorrect value for neg number", bi.equals(
minusTwo
));
279
assertTrue("(-1)+(-1)", minusOne.add(minusOne).equals(
minusTwo
));
314
assertTrue("2.neg", two.negate().equals(
minusTwo
));
316
assertTrue("-2.neg",
minusTwo
.negate().equals(two));
483
assertTrue("-1 << 1", minusOne.shiftLeft(1).equals(
minusTwo
));
Completed in 645 milliseconds