mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add start chart
This commit is contained in:
parent
511f688d1e
commit
b184ad79da
@ -187,6 +187,10 @@ Hutool welcomes anyone to contribute code to Hutool, but the author suffers from
|
|||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
## Star Hutool
|
||||||
|
|
||||||
|
[](https://giteye.net/chart/8RVBCN69)
|
||||||
|
|
||||||
## Donate
|
## Donate
|
||||||
|
|
||||||
If you think Hutool is good, you can donate to buy tshe author a pack of chili~, thanks in advance ^_^.
|
If you think Hutool is good, you can donate to buy tshe author a pack of chili~, thanks in advance ^_^.
|
||||||
|
@ -194,6 +194,10 @@ Hutool欢迎任何人为Hutool添砖加瓦,贡献代码,不过维护者是
|
|||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
## Star Hutool
|
||||||
|
|
||||||
|
[](https://giteye.net/chart/8RVBCN69)
|
||||||
|
|
||||||
## 捐赠
|
## 捐赠
|
||||||
|
|
||||||
如果你觉得Hutool不错,可以捐赠请维护者吃包辣条~,在此表示感谢^_^。
|
如果你觉得Hutool不错,可以捐赠请维护者吃包辣条~,在此表示感谢^_^。
|
||||||
|
@ -358,4 +358,12 @@ public class NumberUtilTest {
|
|||||||
Assert.assertEquals("0", NumberUtil.toStr(NumberUtil.sub(new BigDecimal("9600.0000000000"), new BigDecimal("9600.000000"))));
|
Assert.assertEquals("0", NumberUtil.toStr(NumberUtil.sub(new BigDecimal("9600.0000000000"), new BigDecimal("9600.000000"))));
|
||||||
Assert.assertEquals("0", NumberUtil.toStr(new BigDecimal("9600.00000").subtract(new BigDecimal("9600.000000000"))));
|
Assert.assertEquals("0", NumberUtil.toStr(new BigDecimal("9600.00000").subtract(new BigDecimal("9600.000000000"))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void generateRandomNumberTest2(){
|
||||||
|
final int[] ints = NumberUtil.generateRandomNumber(1, 8, 7);
|
||||||
|
Assert.assertEquals(7, ints.length);
|
||||||
|
final Set<?> set = Convert.convert(Set.class, ints);
|
||||||
|
Assert.assertEquals(7, set.size());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user