public abstract static class DoubleSubject.TolerantDoubleComparison extends Object
double
subject using
a tolerance.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
Object.equals(Object) is not supported on TolerantDoubleComparison. If
you meant to compare doubles, use of(double) instead. |
int |
hashCode()
Deprecated.
Object.hashCode() is not supported on TolerantDoubleComparison |
abstract void |
of(double expectedDouble)
Fails if the subject was expected to be within the tolerance of the given value but was not
or if it was expected not to be within the tolerance but was.
|
public abstract void of(double expectedDouble)
@Deprecated public boolean equals(@NullableDecl Object o)
Object.equals(Object)
is not supported on TolerantDoubleComparison. If
you meant to compare doubles, use of(double)
instead.equals
in class Object
UnsupportedOperationException
- always@Deprecated public int hashCode()
Object.hashCode()
is not supported on TolerantDoubleComparisonhashCode
in class Object
UnsupportedOperationException
- alwaysCopyright © 2018. All rights reserved.