()
| 70 | } |
| 71 | |
| 72 | @Test |
| 73 | public void testHideGan() { |
| 74 | Solar solar = new Solar(2005, 12, 23, 8, 37, 0); |
| 75 | Lunar lunar = solar.getLunar(); |
| 76 | EightChar eightChar = lunar.getEightChar(); |
| 77 | Assert.assertEquals("年支藏干", "[辛]", eightChar.getYearHideGan().toString()); |
| 78 | Assert.assertEquals("月支藏干", "[癸]", eightChar.getMonthHideGan().toString()); |
| 79 | Assert.assertEquals("日支藏干", "[丙, 庚, 戊]", eightChar.getDayHideGan().toString()); |
| 80 | Assert.assertEquals("时支藏干", "[戊, 乙, 癸]", eightChar.getTimeHideGan().toString()); |
| 81 | } |
| 82 | |
| 83 | @Test |
| 84 | public void testShiShenGan() { |
nothing calls this directly
no test coverage detected