Searched refs:MAX_DELTA (Results 1 – 6 of 6) 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()
649 final float MAX_DELTA = 0.025f; in approxEquals() local650 return (Math.abs(expected.red() - actual.red()) <= MAX_DELTA) in approxEquals()651 && (Math.abs(expected.green() - actual.green()) <= MAX_DELTA) in approxEquals()652 && (Math.abs(expected.blue() - actual.blue()) <= MAX_DELTA); in approxEquals()
524 final int MAX_DELTA = 7; in approxEquals() local525 return Math.abs(expected - actual) <= MAX_DELTA; in approxEquals()
1098 final float MAX_DELTA = 0.025f; in approxEquals() local1099 return (Math.abs(expected.red() - actual.red()) <= MAX_DELTA) in approxEquals()1100 && (Math.abs(expected.green() - actual.green()) <= MAX_DELTA) in approxEquals()1101 && (Math.abs(expected.blue() - actual.blue()) <= MAX_DELTA); in approxEquals()
1372 final int MAX_DELTA = 8; in isColorClose() local1377 return (delta <= MAX_DELTA); in isColorClose()
431 final int MAX_DELTA = 17; in approxEquals() local432 return Math.abs(expected - actual) <= MAX_DELTA; in approxEquals()