Searched defs:createIllegalRational (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | RationalTest.java | 350 Rational badZero = createIllegalRational(0, 100); // [0, 100] , should be [0, 1] 358 Rational badPosInfinity = createIllegalRational(100, 0); // [100, 0] , should be [1, 0] 367 createIllegalRational(-100, 0); // [-100, 0] , should be [-1, 0] 375 Rational badReduced = createIllegalRational(2, 4); // [2,4] , should be [1, 2] 383 Rational badReducedNeg = createIllegalRational(-2, 4); // [-2, 4] should be [-1, 2] 491 private static Rational createIllegalRational(int numerator, int denominator) { method in class:RationalTest
|
Completed in 123 milliseconds