@Test
public void areNaN() {

    assertFalse(ValidationUtils.areNaN(looseConfig, 1.02f));
    assertFalse(ValidationUtils.areNaN(looseConfig, 1f, 3.5f));
    assertFalse(ValidationUtils.areNaN(looseConfig, 3.7f, 2f, .004f));
    assertTrue(ValidationUtils.areNaN(looseConfig, Float.NaN));
    assertTrue(ValidationUtils.areNaN(looseConfig, Float.NaN, 2f, .004f));
    assertTrue(ValidationUtils.areNaN(looseConfig, Float.NaN, 2f, Float.NaN));
    assertFalse(ValidationUtils.areNaN(looseConfig, 1.02d));
    assertFalse(ValidationUtils.areNaN(looseConfig, 1d, 3.5d));
    assertFalse(ValidationUtils.areNaN(looseConfig, 3.7d, 2d, .004d));
    assertTrue(ValidationUtils.areNaN(looseConfig, Double.NaN));
    assertTrue(ValidationUtils.areNaN(looseConfig, Double.NaN, 2d, .004d));
    assertTrue(ValidationUtils.areNaN(looseConfig, Double.NaN, 2d, Double.NaN));
    looseConfig.setOkMissingValues(true);
    assertFalse(ValidationUtils.areNaN(looseConfig, 3.7f, 2f, .004f));
    assertFalse(ValidationUtils.areNaN(looseConfig, Float.NaN));
    assertFalse(ValidationUtils.areNaN(looseConfig, Float.NaN, 2f, .004f));
    assertFalse(ValidationUtils.areNaN(looseConfig, Float.NaN, 2f, Float.NaN));
    assertFalse(ValidationUtils.areNaN(looseConfig, 3.7d, 2d, .004d));
    assertFalse(ValidationUtils.areNaN(looseConfig, Double.NaN));
    assertFalse(ValidationUtils.areNaN(looseConfig, Double.NaN, 2d, .004d));
    assertFalse(ValidationUtils.areNaN(looseConfig, Double.NaN, 2d, Double.NaN));
}