Home
last modified time | relevance | path

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

/art/test/623-checker-loop-regressions/src/
DMain.java451 static int absCanBeNegative(int x) { in absCanBeNegative() method in Main
722 expectEquals(0, absCanBeNegative(-3)); in main()
723 expectEquals(3, absCanBeNegative(-2)); in main()
724 expectEquals(5, absCanBeNegative(-1)); in main()
725 expectEquals(6, absCanBeNegative(0)); in main()
726 expectEquals(5, absCanBeNegative(1)); in main()
727 expectEquals(3, absCanBeNegative(2)); in main()
728 expectEquals(0, absCanBeNegative(3)); in main()
729 expectEquals(0, absCanBeNegative(Integer.MAX_VALUE)); in main()
733 absCanBeNegative(Integer.MIN_VALUE); in main()