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

Method test

src/test/java/test/SeasonTest.java:14–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12public class SeasonTest {
13
14 @Test
15 public void test(){
16 SolarSeason season = new SolarSeason(2019,5);
17 Assert.assertEquals("2019.2",season.toString());
18 Assert.assertEquals("2019年2季度",season.toFullString());
19
20 Assert.assertEquals("2019.3",season.next(1).toString());
21 Assert.assertEquals("2019年3季度",season.next(1).toFullString());
22 }
23
24}

Callers

nothing calls this directly

Calls 5

toStringMethod · 0.95
toFullStringMethod · 0.95
nextMethod · 0.95
toStringMethod · 0.45
toFullStringMethod · 0.45

Tested by

no test coverage detected