()
| 81 | } |
| 82 | |
| 83 | @Test |
| 84 | public void testOfLongValue() { |
| 85 | MutableDataPoint dp = MutableDataPoint.ofLongValue(19L, 1717171L); |
| 86 | assertTrue(dp.isInteger()); |
| 87 | assertEquals(1717171L, dp.longValue()); |
| 88 | assertEquals(19L, dp.timestamp()); |
| 89 | assertEquals(1717171L, dp.toDouble(), 0); |
| 90 | } |
| 91 | |
| 92 | @Test(expected = ClassCastException.class) |
| 93 | public void testDoubleValue_castException() { |
nothing calls this directly
no test coverage detected