Package org.mockito.internal.matchers

Examples of org.mockito.internal.matchers.EqualsWithDelta


     * @param delta
     *            the given delta.
     * @return <code>0</code>.
     */
    public static float eq(float value, float delta) {
        return reportMatcher(new EqualsWithDelta(value, delta)).returnZero();
    }
View Full Code Here


     * @param delta
     *            the given delta.
     * @return <code>0</code>.
     */
    public static double eq(double value, double delta) {
        return reportMatcher(new EqualsWithDelta(value, delta)).returnZero();
    }
View Full Code Here

     * @param delta
     *            the given delta.
     * @return <code>0</code>.
     */
    public static float eq(float value, float delta) {
        return reportMatcher(new EqualsWithDelta(value, delta)).returnZero();
    }
View Full Code Here

        return new GreaterOrEqual<T>(value);
    }

    // Number
    public static Matcher<Number> equalsWithDelta(Number value, Number delta) {
        return new EqualsWithDelta(value, delta);
    }
View Full Code Here

TOP

Related Classes of org.mockito.internal.matchers.EqualsWithDelta

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.