Java Code Examples for org.mockito.AdditionalMatchers#eq()

The following examples show how to use org.mockito.AdditionalMatchers#eq() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#eq(double, double)}.
 */
default double eq(double value, double delta) {
    return AdditionalMatchers.eq(value, delta);
}
 
Example 2
Source File: WithAdditionalMatchers.java    From mockito-java8 with Apache License 2.0 4 votes vote down vote up
/**
 * Delegates call to {@link AdditionalMatchers#eq(float, float)}.
 */
default float eq(float value, float delta) {
    return AdditionalMatchers.eq(value, delta);
}