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

Method test15

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

Source from the content-addressed store, hash-verified

382 }
383
384 @Test
385 public void test15() {
386 List<Solar> l = Solar.fromBaZi("己亥","丁丑","壬寅","戊申");
387 List<String> actual = new ArrayList<String>();
388 for (Solar solar : l) {
389 actual.add(solar.toYmdHms());
390 }
391
392 List<String> expected = new ArrayList<String>();
393 expected.add("1900-01-29 16:00:00");
394 expected.add("1960-01-15 16:00:00");
395 Assert.assertEquals(expected, actual);
396 }
397
398 @Test
399 public void test16() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected