Searched refs:extraAllowedError (Results 1 – 3 of 3) sorted by relevance
48 private void shouldAccept(Target.Floaty f, double value, double extraAllowedError) { in shouldAccept() argument49 if (!f.couldBe(value, extraAllowedError)) { in shouldAccept()54 if (extraAllowedError > 0.) { in shouldAccept()56 appendVariableToMessage(message, extraAllowedError); in shouldAccept()72 private void shouldNotAccept(Target.Floaty f, double value, double extraAllowedError) { in shouldNotAccept() argument78 if (extraAllowedError > 0.) { in shouldNotAccept()80 appendVariableToMessage(message, extraAllowedError); in shouldNotAccept()
573 public boolean couldBe(double a, double extraAllowedError) { in couldBe() argument585 if ((mMinValue - extraAllowedError) <= a && a <= (mMaxValue + extraAllowedError)) { in couldBe()
2607 double extraAllowedError = 0.;2611 extraAllowedError = 0.00048828125; // 2^-112618 if (!expectedOut.couldBe(args.outDouble, extraAllowedError)) {2621 message.append("Extra allowed error: " + Double.toString(extraAllowedError) + "\n");