mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add text/event-stream
This commit is contained in:
@@ -60,6 +60,12 @@ public class NumberUtilTest {
|
||||
Assert.assertEquals(new BigDecimal("123"), result);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void addTest5() {
|
||||
final double add = NumberUtil.add(1686036549717D, 1000D);
|
||||
Assert.assertEquals(1686036550717D, add, 0);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isIntegerTest() {
|
||||
Assert.assertTrue(NumberUtil.isInteger("-12"));
|
||||
|
Reference in New Issue
Block a user