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

Method test10

src/test/java/test/BaZiTest.java:340–348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338 }
339
340 @Test
341 public void test10(){
342 Lunar lunar = Solar.fromYmdHms(1988, 2, 15, 23, 30, 0).getLunar();
343 EightChar eightChar = lunar.getEightChar();
344 Assert.assertEquals("年柱", "戊辰", eightChar.getYear());
345 Assert.assertEquals("月柱", "甲寅", eightChar.getMonth());
346 Assert.assertEquals("日柱", "庚子", eightChar.getDay());
347 Assert.assertEquals("时柱", "戊子", eightChar.getTime());
348 }
349
350 @Test
351 public void test11(){

Callers

nothing calls this directly

Calls 7

fromYmdHmsMethod · 0.95
getEightCharMethod · 0.95
getYearMethod · 0.95
getMonthMethod · 0.95
getDayMethod · 0.95
getTimeMethod · 0.95
getLunarMethod · 0.45

Tested by

no test coverage detected