Fix incorrect Half comparison tests
This CL corrects the Half tests to perform the right comparison check
in the respecitive test functions. For example, the test
assertTrue(Half.lessEquals(NEGATIVE_INFINITY, NEGATIVE_INFINITY))
was being used in both HalfTest.lessEquals and HalfTest.greaterEquals and
assertTrue(Half.greaterEquals(NEGATIVE_INFINITY, NEGATIVE_INFINITY))
did not exist at all.
Test: cts-tradefed run singleCommand cts-dev --module CtsUtilTestCases --test android.util.cts.HalfTest
Change-Id: Ibbf0c4350ec66157b6af3ab11193dbb22e22ba90
1 file changed