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

Method test1

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

Source from the content-addressed store, hash-verified

20 }
21
22 @Test
23 public void test1() {
24 Tao tao = Tao.fromYmd(4718, 10, 18);
25 Assert.assertEquals("[地母娘娘圣诞, 四时会]", tao.getFestivals().toString());
26
27 tao = Lunar.fromYmd(2021, 10, 18).getTao();
28 Assert.assertEquals("[地母娘娘圣诞, 四时会]", tao.getFestivals().toString());
29 }
30
31}

Callers

nothing calls this directly

Calls 5

fromYmdMethod · 0.95
getFestivalsMethod · 0.95
fromYmdMethod · 0.95
getTaoMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected