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

Method test35

src/test/java/test/LunarTest.java:239–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237 }
238
239 @Test
240 public void test35() {
241 Lunar lunar = Lunar.fromYmd(56, -12, 1);
242 Assert.assertEquals("闰腊", lunar.getMonthInChinese());
243
244 lunar = Lunar.fromYmd(75, -11, 1);
245 Assert.assertEquals("闰冬", lunar.getMonthInChinese());
246
247 lunar = Lunar.fromYmd(94, -11, 1);
248 Assert.assertEquals("闰冬", lunar.getMonthInChinese());
249
250 lunar = Lunar.fromYmd(94, 12, 1);
251 Assert.assertEquals("腊", lunar.getMonthInChinese());
252
253 lunar = Lunar.fromYmd(113, 12, 1);
254 Assert.assertEquals("腊", lunar.getMonthInChinese());
255
256 lunar = Lunar.fromYmd(113, -12, 1);
257 Assert.assertEquals("闰腊", lunar.getMonthInChinese());
258
259 lunar = Lunar.fromYmd(5552, -12, 1);
260 Assert.assertEquals("闰腊", lunar.getMonthInChinese());
261 }
262
263 @Test
264 public void test36() {

Callers

nothing calls this directly

Calls 2

fromYmdMethod · 0.95
getMonthInChineseMethod · 0.95

Tested by

no test coverage detected