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

Method test4

src/test/java/test/FuTest.java:43–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 @Test
44 public void test4(){
45 Solar solar = new Solar(2011,8,12);
46 Lunar lunar = solar.getLunar();
47 Fu fu = lunar.getFu();
48 Assert.assertEquals(solar.toYmd(),"中伏",fu.toString());
49 Assert.assertEquals(solar.toYmd(),"中伏第20天",fu.toFullString());
50 }
51
52 @Test
53 public void test5(){

Callers

nothing calls this directly

Calls 5

getLunarMethod · 0.95
getFuMethod · 0.95
toYmdMethod · 0.95
toStringMethod · 0.95
toFullStringMethod · 0.95

Tested by

no test coverage detected