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

Method test20

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

Source from the content-addressed store, hash-verified

439 }
440
441 @Test
442 public void test20() {
443 List<Solar> l = Solar.fromBaZi("乙未","己卯","丁丑","甲辰");
444 List<String> actual = new ArrayList<String>();
445 for (Solar solar : l) {
446 actual.add(solar.toYmdHms());
447 }
448
449 List<String> expected = new ArrayList<String>();
450 expected.add("1955-03-17 08:00:00");
451 Assert.assertEquals(expected, actual);
452 }
453
454 @Test
455 public void test21() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected