107108109110111112113114115116117
@Test public void numbers() { QualityValue x = QualityValue.valueOf("0.08"); assertEquals(80, x.intValue()); assertEquals(80L, x.longValue()); assertEquals(0.08f, x.floatValue()); assertEquals(0.08d, x.doubleValue()); }