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

Method testBaZi2Solar4

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

Source from the content-addressed store, hash-verified

306 }
307
308 @Test
309 public void testBaZi2Solar4() {
310 List<Solar> l = Solar.fromBaZi("庚子","癸未","乙丑","丁亥");
311 List<String> actual = new ArrayList<String>();
312 for (Solar solar : l) {
313 actual.add(solar.toYmdHms());
314 }
315
316 List<String> expected = new ArrayList<String>();
317 expected.add("1960-08-05 22:00:00");
318 expected.add("2020-07-21 22:00:00");
319 Assert.assertEquals(expected, actual);
320 }
321
322 @Test
323 public void test4() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected