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

Method test13

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

Source from the content-addressed store, hash-verified

358 }
359
360 @Test
361 public void test13(){
362 Lunar lunar = Lunar.fromYmdHms(1991, 4, 5, 3, 37, 0);
363 EightChar eightChar = lunar.getEightChar();
364 Assert.assertEquals("年柱", "辛未", eightChar.getYear());
365 Assert.assertEquals("月柱", "癸巳", eightChar.getMonth());
366 Assert.assertEquals("日柱", "戊子", eightChar.getDay());
367 Assert.assertEquals("时柱", "甲寅", eightChar.getTime());
368 }
369
370 @Test
371 public void test14() {

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