@Test
public void testDoubles() {

	assertEquals(true, ComparisonUtils.compare(1d, 2d).isDifferent());
	assertEquals(false, ComparisonUtils.compare(1d, 1d).isDifferent());
	assertEquals(true, ComparisonUtils.compare(1d, -1d).isDifferent());
	assertEquals(false, ComparisonUtils.compare(Double.valueOf(1), Double.valueOf(1)).isDifferent());
	assertEquals(true, ComparisonUtils.compare(Double.valueOf(1), Double.valueOf(2)).isDifferent());
	assertEquals(true, ComparisonUtils.compare(Double.valueOf(1), Double.valueOf(-1)).isDifferent());
	assertEquals(false, ComparisonUtils.compare(Double.valueOf(1.0124d), Double.valueOf(1.0123d)).isDifferent());  // Below default tolerance level
	assertEquals(false, ComparisonUtils.compare(Double.valueOf(0.00000124d), Double.valueOf(0.00000123d)).isDifferent());  // Below default smallest absolute minimum level
	assertEquals(true, ComparisonUtils.compare(Double.valueOf(1.0124d), Double.valueOf(1.0123d),BigDecimal.valueOf(0),BigDecimal.valueOf(0)).isDifferent());
}