diff --git a/uni_modules/uts-tests/utssdk/Math.uts b/uni_modules/uts-tests/utssdk/Math.uts index 4216dc338f314e09000f4ade7cd22281ade75df2..1e69e8fa9ba3cb62f893ee043b3eb3fd21475e9c 100644 --- a/uni_modules/uts-tests/utssdk/Math.uts +++ b/uni_modules/uts-tests/utssdk/Math.uts @@ -113,6 +113,7 @@ export function testMath(): Result { }) test('ceil', () => { expect(Math.ceil(0.95)).toEqual(1); + expect(Math.ceil(NaN)).toEqual(NaN); expect(Math.ceil(4)).toEqual(4); expect(Math.ceil(7.004)).toEqual(8); expect(Math.ceil(-7.004)).toEqual(-7);