mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
add test
This commit is contained in:
parent
126674a453
commit
d18babc83f
@ -0,0 +1,14 @@
|
||||
package cn.hutool.core.date;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class IssueI97WU6Test {
|
||||
@Test
|
||||
public void getTermTest() {
|
||||
// 润十月没有三十,十月有三十
|
||||
final ChineseDate chineseDate = new ChineseDate(1984, 10, 30, false);
|
||||
Assert.assertEquals("甲子鼠年 寒月三十", chineseDate.toString());
|
||||
Assert.assertEquals("小雪", chineseDate.getTerm());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user