()
| 39 | } |
| 40 | |
| 41 | @Test |
| 42 | public void test3() { |
| 43 | Solar solar = new Solar(2020, 1, 6, 11, 22, 0); |
| 44 | Lunar lunar = solar.getLunar(); |
| 45 | System.out.println(lunar.getMonth()); |
| 46 | System.out.println(lunar.toFullString()); |
| 47 | System.out.println(lunar.getSolar().toFullString()); |
| 48 | EightChar eightChar = lunar.getEightChar(); |
| 49 | Yun yun = eightChar.getYun(1); |
| 50 | Assert.assertEquals("起运年数", 0, yun.getStartYear()); |
| 51 | Assert.assertEquals("起运月数", 1, yun.getStartMonth()); |
| 52 | Assert.assertEquals("起运天数", 0, yun.getStartDay()); |
| 53 | Assert.assertEquals("起运阳历", "2020-02-06", yun.getStartSolar().toYmd()); |
| 54 | } |
| 55 | |
| 56 | @Test |
| 57 | public void test4() { |
nothing calls this directly
no test coverage detected