()
| 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() { |
nothing calls this directly
no test coverage detected