mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add test
This commit is contained in:
parent
849289fa55
commit
760989a882
@ -0,0 +1,14 @@
|
||||
package org.dromara.hutool.core.date.chinese;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class IssueI97WU6Test {
|
||||
@Test
|
||||
public void getTermTest() {
|
||||
// 润十月没有三十,十月有三十
|
||||
final ChineseDate chineseDate = new ChineseDate(1984, 10, 30, false);
|
||||
Assertions.assertEquals("甲子鼠年 寒月三十", chineseDate.toString());
|
||||
Assertions.assertEquals("小雪", chineseDate.getTerm());
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user