Searched refs:assertClose (Results 1 – 9 of 9) sorted by relevance
/test/xts/acts/demo/hjsunit/Assertion/entry/src/ohosTest/js/test/ |
D | assertClose.test.js | 21 expect(a).assertClose(99, b) 26 expect(a).assertClose(1, b) 31 expect(a).assertClose(null, b) 34 expect(null).assertClose(null, 0)
|
/test/testfwk/arkxtest/jsunit/src/module/assert/ |
D | assertClose.js | 16 function assertClose(actualValue, expected) { function 41 export default assertClose;
|
D | ExpectExtend.js | 17 import assertClose from './assertClose'; 46 this.matchers.assertClose = assertClose;
|
/test/xts/acts/multimedia/media/media_js_standard/httpPlayer/src/main/js/test/ |
D | HttpPlayerFuncPromiseTest.test.js | 97 expect(newTime - startTime).assertClose(0.75 * 1000, DELTA_TIME); 100 expect(newTime - startTime).assertClose(1000, DELTA_TIME); 103 expect(newTime - startTime).assertClose(1.25 * 1000, DELTA_TIME); 106 expect(newTime - startTime).assertClose(1.75 * 1000, DELTA_TIME); 109 expect(newTime - startTime).assertClose(2 * 1000, DELTA_TIME); 161 expect(endTime - startTime).assertClose(PLAY_TIME, DELTA_TIME); 212 expect(endTime - startTime).assertClose(PLAY_TIME, DELTA_TIME); 268 expect(endTime - startTime).assertClose(PLAY_TIME, DELTA_TIME); 282 expect(endTime - startTime).assertClose(PLAY_TIME, DELTA_TIME); 333 expect(endTime - startTime).assertClose(PLAY_TIME, DELTA_TIME); [all …]
|
/test/testfwk/arkxtest/jsunit/ |
D | index.d.ts | 65 assertClose(expectValue: number, precision: number): void
|
D | index.ets | 58 assertClose(expectValue: number, precision: number): void
|
/test/xts/acts/multimedia/media/media_js_standard/hlsPlayer/src/main/js/test/ |
D | VideoPlayerHLSBitrateTest.test.js | 109 expect(endTime - startTime).assertClose(playTime, 1000);
|
/test/testfwk/arkxtest/ |
D | README_en.md | 83 | 1 | assertClose | Checks whether the proximity between the actual value and the expected … 101 describe('assertClose', function () { 105 expect(a).assertClose(99, b) 110 expect(a).assertClose(1, b) 115 expect(a).assertClose(null, b) 118 expect(null).assertClose(null, 0)
|
D | README_zh.md | 142 | 1 | assertClose | 检验actualvalue和expectvalue(0)的接近程度是否是expectValue(1)。 | 175 expect(a).assertClose(99, b)
|