()
| 107 | } |
| 108 | |
| 109 | @Test |
| 110 | public void testBaziShiShenZhi() { |
| 111 | Solar solar = new Solar(2020,1,1,22,35,0); |
| 112 | Lunar lunar = solar.getLunar(); |
| 113 | //[己亥, 丙子, 癸卯, 癸亥] |
| 114 | System.out.println(lunar.getBaZi()); |
| 115 | //[七杀, 正财, 日主, 比肩] |
| 116 | System.out.println(lunar.getBaZiShiShenGan()); |
| 117 | //[劫财, 比肩, 食神, 劫财] |
| 118 | System.out.println(lunar.getBaZiShiShenZhi()); |
| 119 | //[劫财, 伤官] |
| 120 | System.out.println(lunar.getBaZiShiShenYearZhi()); |
| 121 | //[比肩] |
| 122 | System.out.println(lunar.getBaZiShiShenMonthZhi()); |
| 123 | //[食神] |
| 124 | System.out.println(lunar.getBaZiShiShenDayZhi()); |
| 125 | //[劫财, 伤官] |
| 126 | System.out.println(lunar.getBaZiShiShenTimeZhi()); |
| 127 | } |
| 128 | |
| 129 | } |
nothing calls this directly
no test coverage detected