(float expectedFloat,
double expectedDouble,
String expectedText,
IonFloat actual)
| 188 | } |
| 189 | |
| 190 | public void checkSpecial(float expectedFloat, |
| 191 | double expectedDouble, |
| 192 | String expectedText, |
| 193 | IonFloat actual) |
| 194 | { |
| 195 | assertEquals(expectedFloat, actual.floatValue()); |
| 196 | assertEquals(expectedDouble, actual.doubleValue()); |
| 197 | assertEquals(expectedText, actual.toString()); |
| 198 | assertFalse(actual.isNumericValue()); |
| 199 | |
| 200 | try |
| 201 | { |
| 202 | actual.bigDecimalValue(); |
| 203 | fail("expected exception"); |
| 204 | } |
| 205 | catch (NumberFormatException e) { } |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * TODO amazon-ion/ion-java#64 Un-ignore this when all dependent build pipelines |
no test coverage detected