()
| 32 | } |
| 33 | |
| 34 | @Test |
| 35 | public void epoch() { |
| 36 | for (TimeScale scale : TimeScale.values()) { |
| 37 | Moment epoch = Moment.of(0, scale); |
| 38 | assertThat( |
| 39 | "Error in elapsed time of: " + scale, |
| 40 | epoch.getElapsedTime(scale), |
| 41 | is(0L)); |
| 42 | assertThat( |
| 43 | "Error in fraction value of: " + scale, |
| 44 | epoch.getNanosecond(scale), |
| 45 | is(0)); |
| 46 | System.out.println(scale + "-" + epoch.toString()); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | @Test |
| 51 | public void transformUTC() { |
nothing calls this directly
no test coverage detected