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

Method testBaZi2Solar1

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

Source from the content-addressed store, hash-verified

265 }
266
267 @Test
268 public void testBaZi2Solar1() {
269 List<Solar> l = Solar.fromBaZi("壬寅","庚戌","己未","乙亥");
270 List<String> actual = new ArrayList<String>();
271 for (Solar solar : l) {
272 actual.add(solar.toYmdHms());
273 }
274
275 List<String> expected = new ArrayList<String>();
276 expected.add("2022-11-02 22:00:00");
277 Assert.assertEquals(expected, actual);
278 }
279
280 @Test
281 public void testBaZi2Solar2() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected