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

Method test16

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

Source from the content-addressed store, hash-verified

396 }
397
398 @Test
399 public void test16() {
400 List<Solar> l = Solar.fromBaZi("己亥","丙子","癸酉","庚申");
401 List<String> actual = new ArrayList<String>();
402 for (Solar solar : l) {
403 actual.add(solar.toYmdHms());
404 }
405
406 List<String> expected = new ArrayList<String>();
407 expected.add("1959-12-17 16:00:00");
408 Assert.assertEquals(expected, actual);
409 }
410
411 @Test
412 public void test17() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected