Commit bb7b1969 authored by sunguoshu's avatar sunguoshu

update

parent 458e13d9
......@@ -263,9 +263,10 @@ describe('小数整数', () => {
describe('随机数测试', () => {
it('随机数测试', () => {
for (let i = 0; i < 10000; i++) {
const random = Math.random() * 1000000000
const random = Math.random() * 1000000000000
const result = numberToWords(random)
const result2 = numberToWords2(random)
console.log(random, result, result2)
expect(result).toBe(result2)
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment