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

Method testBaZi2Solar3

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

Source from the content-addressed store, hash-verified

292 }
293
294 @Test
295 public void testBaZi2Solar3() {
296 List<Solar> l = Solar.fromBaZi("庚子","戊子","己卯","庚午");
297 List<String> actual = new ArrayList<String>();
298 for (Solar solar : l) {
299 actual.add(solar.toYmdHms());
300 }
301
302 List<String> expected = new ArrayList<String>();
303 expected.add("1901-01-01 12:00:00");
304 expected.add("1960-12-17 12:00:00");
305 Assert.assertEquals(expected, actual);
306 }
307
308 @Test
309 public void testBaZi2Solar4() {

Callers

nothing calls this directly

Calls 2

fromBaZiMethod · 0.95
toYmdHmsMethod · 0.80

Tested by

no test coverage detected