Package org.tensorics.core.testing.lang
Class OngoingCloseToMatcherCreation<S>
- java.lang.Object
-
- org.tensorics.core.testing.lang.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 Summary
Constructors Constructor Description OngoingCloseToMatcherCreation(Environment<S> environment, S tolerance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hamcrest.Matcher<Tensor<S>>
closeTo(Tensor<S> tensor)
org.hamcrest.Matcher<S>
closeTo(S value)
-