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

Method test29

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

Source from the content-addressed store, hash-verified

505 }
506
507 @Test
508 public void test29() {
509 List<Solar> l = Solar.fromBaZi("甲辰","丙寅","壬戌","壬子", 2);
510 List<String> actual = new ArrayList<String>();
511 for (Solar solar : l) {
512 actual.add(solar.toYmdHms());
513 }
514
515 List<String> expected = new ArrayList<String>();
516 expected.add("2024-02-28 23:00:00");
517 Assert.assertEquals(expected, actual);
518 }
519
520 @Test
521 public void test30() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected