Class PrimitiveFloatArraySubject.TolerantPrimitiveFloatArrayComparison

  • Enclosing class:
    PrimitiveFloatArraySubject


    public abstract class PrimitiveFloatArraySubject.TolerantPrimitiveFloatArrayComparison
    extends Object
    A partially specified proposition about an approximate relationship to a float[] subject using a tolerance.
    • Method Summary

      Modifier and Type Method and Description
      boolean equals(Object o)
      Deprecated. 
      Object.equals(Object) is not supported on TolerantPrimitiveFloatArrayComparison. If you meant to compare float arrays, use of(float[]) instead.
      int hashCode()
      Deprecated. 
      Object.hashCode() is not supported on TolerantPrimitiveFloatArrayComparison
      abstract void of(float[] expectedFloats)
      Fails if the values in the subject wer expected to be within the tolerance of the given values but were not or if they wer expected not to be within the tolerance but were.
    • Method Detail

      • of

        public abstract void of(float[] expectedFloats)
        Fails if the values in the subject wer expected to be within the tolerance of the given values but were not or if they wer expected not to be within the tolerance but were. The expectation, subject, and tolerance are all specified earlier in the fluent call chain.