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

Method testNaYin

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

Source from the content-addressed store, hash-verified

194 }
195
196 @Test
197 public void testNaYin() {
198 Solar solar = new Solar(2005, 12, 23, 8, 37, 0);
199 Lunar lunar = solar.getLunar();
200 EightChar eightChar = lunar.getEightChar();
201 Assert.assertEquals("年柱纳音", "泉中水", eightChar.getYearNaYin());
202 Assert.assertEquals("月柱纳音", "霹雳火", eightChar.getMonthNaYin());
203 Assert.assertEquals("日柱纳音", "白蜡金", eightChar.getDayNaYin());
204 Assert.assertEquals("时柱纳音", "长流水", eightChar.getTimeNaYin());
205 }
206
207 @Test
208 public void testTaiYuan() {

Callers

nothing calls this directly

Calls 6

getLunarMethod · 0.95
getEightCharMethod · 0.95
getYearNaYinMethod · 0.95
getMonthNaYinMethod · 0.95
getDayNaYinMethod · 0.95
getTimeNaYinMethod · 0.95

Tested by

no test coverage detected