MCPcopy Create free account
hub / github.com/6tail/lunar-java / test

Method test

src/test/java/test/TaoTest.java:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13public class TaoTest {
14
15 @Test
16 public void test() {
17 Tao tao = Tao.fromLunar(Lunar.fromYmdHms(2021, 10, 17, 18, 0, 0));
18 Assert.assertEquals("四七一八年十月十七", tao.toString());
19 Assert.assertEquals("道歷四七一八年,天運辛丑年,己亥月,癸酉日。十月十七日,酉時。", tao.toFullString());
20 }
21
22 @Test
23 public void test1() {

Callers

nothing calls this directly

Calls 4

fromLunarMethod · 0.95
fromYmdHmsMethod · 0.95
toStringMethod · 0.95
toFullStringMethod · 0.95

Tested by

no test coverage detected