Home
last modified time | relevance | path

Searched refs:testLongIntExact (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/lang/StrictMath/
DExactArithTests.java336 static void testLongIntExact() { in testLongIntExact() method in ExactArithTests
337 testLongIntExact(0, 0); in testLongIntExact()
338 testLongIntExact(1, 1); in testLongIntExact()
339 testLongIntExact(1, -1); in testLongIntExact()
340 testLongIntExact(1000, 2000); in testLongIntExact()
342 testLongIntExact(Long.MIN_VALUE, Integer.MIN_VALUE); in testLongIntExact()
343 testLongIntExact(Long.MAX_VALUE, Integer.MAX_VALUE); in testLongIntExact()
344 testLongIntExact(Long.MIN_VALUE, 1); in testLongIntExact()
345 testLongIntExact(Long.MAX_VALUE, 1); in testLongIntExact()
346 testLongIntExact(Long.MIN_VALUE, 2); in testLongIntExact()
[all …]
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java562 public void testLongIntExact() { in testLongIntExact() method in ExactArithTests
563 testLongIntExact(0, 0); in testLongIntExact()
564 testLongIntExact(1, 1); in testLongIntExact()
565 testLongIntExact(1, -1); in testLongIntExact()
566 testLongIntExact(1000, 2000); in testLongIntExact()
568 testLongIntExact(Long.MIN_VALUE, Integer.MIN_VALUE); in testLongIntExact()
569 testLongIntExact(Long.MAX_VALUE, Integer.MAX_VALUE); in testLongIntExact()
570 testLongIntExact(Long.MIN_VALUE, 1); in testLongIntExact()
571 testLongIntExact(Long.MAX_VALUE, 1); in testLongIntExact()
572 testLongIntExact(Long.MIN_VALUE, 2); in testLongIntExact()
[all …]