Searched refs:MAX_DELTA (Results 1 – 7 of 7) sorted by relevance
189 final double MAX_DELTA = 0.05; in runThroughputTest() local190 if (delta > MAX_DELTA) { in runThroughputTest()191 throw new RuntimeException("Time delta exceeds tolerance (" + MAX_DELTA + in runThroughputTest()
682 final float MAX_DELTA = 0.025f; in approxEquals() local683 return (Math.abs(expected.red() - actual.red()) <= MAX_DELTA) in approxEquals()684 && (Math.abs(expected.green() - actual.green()) <= MAX_DELTA) in approxEquals()685 && (Math.abs(expected.blue() - actual.blue()) <= MAX_DELTA); in approxEquals()
604 final float MAX_DELTA = 0.025f; in approxEquals() local605 return (Math.abs(expected.red() - actual.red()) <= MAX_DELTA) in approxEquals()606 && (Math.abs(expected.green() - actual.green()) <= MAX_DELTA) in approxEquals()607 && (Math.abs(expected.blue() - actual.blue()) <= MAX_DELTA); in approxEquals()
517 final int MAX_DELTA = 7; in approxEquals() local518 return Math.abs(expected - actual) <= MAX_DELTA; in approxEquals()
803 final int MAX_DELTA = 8; in isColorClose() local808 return (delta <= MAX_DELTA); in isColorClose()
1361 final int MAX_DELTA = 8; in isColorClose() local1366 return (delta <= MAX_DELTA); in isColorClose()
506 final int MAX_DELTA = 4; in approxEquals() local507 return Math.abs(expected - actual) <= MAX_DELTA; in approxEquals()