com.mockobjects.constraint

Class IsCloseTo

public class IsCloseTo extends Object implements Constraint

Is the value a number equal to a value within some range of acceptable error?
Constructor Summary
IsCloseTo(double value, double error)
Method Summary
booleaneval(Object arg)
StringtoString()

Constructor Detail

IsCloseTo

public IsCloseTo(double value, double error)

Method Detail

eval

public boolean eval(Object arg)

toString

public String toString()
Copyright © 2002 Mock Objects. All Rights Reserved.