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

Method test14

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

Source from the content-addressed store, hash-verified

368 }
369
370 @Test
371 public void test14() {
372 List<Solar> l = Solar.fromBaZi("癸卯","甲寅","甲寅","甲子", 2, 1843);
373 List<String> actual = new ArrayList<String>();
374 for (Solar solar : l) {
375 actual.add(solar.toYmdHms());
376 }
377
378 List<String> expected = new ArrayList<String>();
379 expected.add("1843-02-09 00:00:00");
380 expected.add("2023-02-25 00:00:00");
381 Assert.assertEquals(expected, actual);
382 }
383
384 @Test
385 public void test15() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected