diff --git a/uni_modules/uts-tests/utssdk/Number.uts b/uni_modules/uts-tests/utssdk/Number.uts index 2dca1ed7eb903e861fbc6024e1530a7d872363c5..302dbe2919fb42e8ec024360d814baca2b5641d9 100644 --- a/uni_modules/uts-tests/utssdk/Number.uts +++ b/uni_modules/uts-tests/utssdk/Number.uts @@ -84,7 +84,9 @@ export function testNumber() : Result { expect((6).toString(2)).toEqual("110"); expect((254).toString(16)).toEqual("fe"); expect((-10).toString(2)).toEqual("-1010"); - + expect((10.22).toString(8)).toEqual("12.16050753412172704"); + expect((-10.22).toString(8)).toEqual("-12.16050753412172704"); + expect((123456789987654).toString(16)).toEqual("7048861cc146"); expect((-0xff).toString(2)).toEqual("-11111111"); })