MCPcopy Create free account
hub / github.com/6tail/lunar-java / testBaZi2Solar2

Method testBaZi2Solar2

src/test/java/test/BaZiTest.java:280–292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278 }
279
280 @Test
281 public void testBaZi2Solar2() {
282 List<Solar> l = Solar.fromBaZi("己卯","辛未","甲戌","壬申");
283 List<String> actual = new ArrayList<String>();
284 for (Solar solar : l) {
285 actual.add(solar.toYmdHms());
286 }
287
288 List<String> expected = new ArrayList<String>();
289 expected.add("1939-08-05 16:00:00");
290 expected.add("1999-07-21 16:00:00");
291 Assert.assertEquals(expected, actual);
292 }
293
294 @Test
295 public void testBaZi2Solar3() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected