Value to compare to compare.
Maximum allowable relative difference. Setting to 0.0 disables this check. Default depends on the type of other and the original valie: It is approximately half the number of decimal digits of precision of the smaller type.
Maximum absolute difference. This is mainly usefull for comparing values to zero. Setting to 0.0 disables this check. Defaults to 0.0.
filename
line number inside of file
double d = 0.1; double d2 = d + 1e-10; d.should.not.be.equal(d2); d.should.be.approxEqual(d2);
Asserts that a float type is aproximated equal. Returns the valued wrapped around the assertion