()
| 25 | } |
| 26 | |
| 27 | @Test |
| 28 | public void test2() { |
| 29 | Lunar lunar = new Lunar(2019, 12, 12, 11, 22, 0); |
| 30 | System.out.println(lunar.getMonth()); |
| 31 | System.out.println(lunar.toFullString()); |
| 32 | System.out.println(lunar.getSolar().toFullString()); |
| 33 | EightChar eightChar = lunar.getEightChar(); |
| 34 | Yun yun = eightChar.getYun(1); |
| 35 | Assert.assertEquals("起运年数", 0, yun.getStartYear()); |
| 36 | Assert.assertEquals("起运月数", 1, yun.getStartMonth()); |
| 37 | Assert.assertEquals("起运天数", 0, yun.getStartDay()); |
| 38 | Assert.assertEquals("起运阳历", "2020-02-06", yun.getStartSolar().toYmd()); |
| 39 | } |
| 40 | |
| 41 | @Test |
| 42 | public void test3() { |
nothing calls this directly
no test coverage detected