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

Method test19

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

Source from the content-addressed store, hash-verified

425 }
426
427 @Test
428 public void test19() {
429 List<Solar> l = Solar.fromBaZi("丁丑","癸卯","癸丑","辛酉");
430 List<String> actual = new ArrayList<String>();
431 for (Solar solar : l) {
432 actual.add(solar.toYmdHms());
433 }
434
435 List<String> expected = new ArrayList<String>();
436 expected.add("1937-03-27 18:00:00");
437 expected.add("1997-03-12 18:00:00");
438 Assert.assertEquals(expected, actual);
439 }
440
441 @Test
442 public void test20() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected