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

Method getFloat

test/TestConfig.java:273–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271 }
272
273 @Test
274 public void getFloat() throws Exception {
275 final Config config = new Config();
276 config.overrideConfig("asynchbase.float", Float.toString(Float.MAX_VALUE));
277 assertEquals(Float.MAX_VALUE,
278 config.getFloat("asynchbase.float"), 0.000001);
279 }
280
281 @Test
282 public void getFloatNegative() throws Exception {

Callers

nothing calls this directly

Calls 3

overrideConfigMethod · 0.95
getFloatMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected