Class OngoingCloseToMatcherCreation<S>

  • Type Parameters:
    S - the type of the scalar for which a matcher has to be created

    public class OngoingCloseToMatcherCreation<S>
    extends java.lang.Object
    Part of a fluent clause to create a matcher which will allow to check if some value is 'close to' some other value.
    • Constructor Detail

      • OngoingCloseToMatcherCreation

        public OngoingCloseToMatcherCreation​(Environment<S> environment,
                                             S tolerance)
    • Method Detail

      • closeTo

        public org.hamcrest.Matcher<S> closeTo​(S value)
      • closeTo

        public org.hamcrest.Matcher<Tensor<S>> closeTo​(Tensor<S> tensor)