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

Method test11

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

Source from the content-addressed store, hash-verified

348 }
349
350 @Test
351 public void test11(){
352 Lunar lunar = Lunar.fromYmdHms(1987, 12, 28, 23, 30, 0);
353 EightChar eightChar = lunar.getEightChar();
354 Assert.assertEquals("年柱", "戊辰", eightChar.getYear());
355 Assert.assertEquals("月柱", "甲寅", eightChar.getMonth());
356 Assert.assertEquals("日柱", "庚子", eightChar.getDay());
357 Assert.assertEquals("时柱", "戊子", eightChar.getTime());
358 }
359
360 @Test
361 public void test13(){

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected