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

Method test1

src/test/java/test/NineStarTest.java:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10public class NineStarTest {
11 @Test
12 public void test1() {
13 Lunar lunar = Solar.fromYmd(1985, 2, 19).getLunar();
14 Assert.assertEquals("六", lunar.getYearNineStar().getNumber());
15 Assert.assertEquals("五黄土玉衡", lunar.getDayNineStar().toString());
16 }
17
18 @Test
19 public void test2() {

Callers

nothing calls this directly

Calls 6

fromYmdMethod · 0.95
getYearNineStarMethod · 0.95
getDayNineStarMethod · 0.95
getNumberMethod · 0.80
getLunarMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected