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.java285 static void testLongIntExact() { in testLongIntExact() method in ExactArithTests
286 testLongIntExact(0, 0); in testLongIntExact()
287 testLongIntExact(1, 1); in testLongIntExact()
288 testLongIntExact(1, -1); in testLongIntExact()
289 testLongIntExact(1000, 2000); in testLongIntExact()
291 testLongIntExact(Long.MIN_VALUE, Integer.MIN_VALUE); in testLongIntExact()
292 testLongIntExact(Long.MAX_VALUE, Integer.MAX_VALUE); in testLongIntExact()
293 testLongIntExact(Long.MIN_VALUE, 1); in testLongIntExact()
294 testLongIntExact(Long.MAX_VALUE, 1); in testLongIntExact()
295 testLongIntExact(Long.MIN_VALUE, 2); in testLongIntExact()
[all …]
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java342 static void testLongIntExact() { in testLongIntExact() method in ExactArithTests
343 testLongIntExact(0, 0); in testLongIntExact()
344 testLongIntExact(1, 1); in testLongIntExact()
345 testLongIntExact(1, -1); in testLongIntExact()
346 testLongIntExact(1000, 2000); in testLongIntExact()
348 testLongIntExact(Long.MIN_VALUE, Integer.MIN_VALUE); in testLongIntExact()
349 testLongIntExact(Long.MAX_VALUE, Integer.MAX_VALUE); in testLongIntExact()
350 testLongIntExact(Long.MIN_VALUE, 1); in testLongIntExact()
351 testLongIntExact(Long.MAX_VALUE, 1); in testLongIntExact()
352 testLongIntExact(Long.MIN_VALUE, 2); in testLongIntExact()
[all …]