MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / getFloatNegative

Method getFloatNegative

test/TestConfig.java:281–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279 }
280
281 @Test
282 public void getFloatNegative() throws Exception {
283 final Config config = new Config();
284 config.overrideConfig("asynchbase.float", Float.toString(Float.MIN_VALUE));
285 assertEquals(Float.MIN_VALUE,
286 config.getFloat("asynchbase.float"), 0.000001);
287 }
288
289 @Test
290 public void getFloatNaN() throws Exception {

Callers

nothing calls this directly

Calls 3

overrideConfigMethod · 0.95
getFloatMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected