Searched refs:assertLess (Results 1 – 25 of 89) sorted by relevance
1234
16 function assertLess(actualValue, expected) { function23 export default assertLess;
19 import assertLess from './assertLess';48 this.matchers.assertLess = assertLess;
21 expect(a).assertLess(b)26 expect(a).assertLess(b);
268 expect(Math.abs(endTime - startTime - PLAY_TIME)).assertLess(DELTA_TIME);346 expect(seekDoneTime).assertLess(DELTA_SEEK_TIME);348 … expect(Math.abs(videoPlayer.currentTime - DURATION_TIME)).assertLess(DELTA_SEEK_TIME);350 … expect(Math.abs(videoPlayer.currentTime - NEXT_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);355 expect(seekDoneTime).assertLess(DELTA_SEEK_TIME);357 … expect(Math.abs(videoPlayer.currentTime - NEXT_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);359 … expect(Math.abs(videoPlayer.currentTime - PREV_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);433 … expect(Math.abs(endTime - startTime - (0.75 * PLAY_TIME_1S))).assertLess(DELTA_TIME * 0.75);436 expect(Math.abs(endTime - startTime - (PLAY_TIME_1S))).assertLess(DELTA_TIME);439 … expect(Math.abs(endTime - startTime - (1.25 * PLAY_TIME_1S))).assertLess(DELTA_TIME * 1.25);[all …]
93 … expect(Math.abs(newTime - startTime - (0.75 * PLAY_TIME_1S))).assertLess(DELTA_TIME * 0.75);97 expect(Math.abs(newTime - startTime - (PLAY_TIME_1S))).assertLess(DELTA_TIME);101 … expect(Math.abs(newTime - startTime - (1.25 * PLAY_TIME_1S))).assertLess(DELTA_TIME * 1.25);105 … expect(Math.abs(newTime - startTime - (1.75 * PLAY_TIME_1S))).assertLess(DELTA_TIME * 1.75);109 … expect(Math.abs(newTime - startTime - (2 * PLAY_TIME_1S))).assertLess(DELTA_TIME * 2);191 expect(Math.abs(endTime - startTime - PLAY_TIME)).assertLess(DELTA_TIME);248 expect(Math.abs(endTime - startTime - PLAY_TIME_1S)).assertLess(DELTA_TIME);343 expect(Math.abs(endTime - startTime - PLAY_TIME)).assertLess(DELTA_TIME);348 expect(Math.abs(videoPlayer.currentTime - NEXT_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);355 expect(Math.abs(videoPlayer.currentTime - PREV_FRAME_TIME)).assertLess(DELTA_SEEK_TIME);[all …]
853 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE)872 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);898 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);925 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);950 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE)969 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);995 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);1022 expect(len).assertLess(1001);1047 expect(len).assertLess(MAX_CHARACTERS_NUM_TWO);1073 expect(len).assertLess(MAX_CHARACTERS_NUM_TWO);[all …]
58 expect((endTime - beginTime) / times).assertLess(150);84 expect((endTime - beginTime) / times).assertLess(150);112 expect((endTime - beginTime) / times).assertLess(200);138 expect((endTime - beginTime) / times).assertLess(100);165 expect((endTime - beginTime) / times).assertLess(1500);192 expect((endTime - beginTime) / times).assertLess(1500);
558 expect(avPlayer.currentTime - 0).assertLess(DELTA_TIME);560 … expect(avPlayer.currentTime - videoInfor[srcCount].PREV_FRAME).assertLess(DELTA_TIME);565 … expect(avPlayer.currentTime - videoInfor[srcCount].PREV_FRAME).assertLess(DELTA_TIME);567 … expect(avPlayer.currentTime - videoInfor[srcCount].NEXT_FRAME).assertLess(DELTA_TIME);572 … expect(avPlayer.currentTime - videoInfor[srcCount].NEXT_FRAME).assertLess(DELTA_TIME);574 expect(avPlayer.currentTime - seekTime).assertLess(DELTA_TIME);595 expect(avPlayer.currentTime - seekDoneTime).assertLess(DELTA_TIME);613 … expect(Math.abs(newTime - startTime - (0.75 * PLAY_TIME))).assertLess(DELTA_TIME * 0.75);617 expect(Math.abs(newTime - startTime - (PLAY_TIME))).assertLess(DELTA_TIME);621 … expect(Math.abs(newTime - startTime - (1.25 * PLAY_TIME))).assertLess(DELTA_TIME * 1.25);[all …]
76 expect(textExceed01.bottom).assertLess(flexExceed01.bottom)78 expect(textExceed03.right).assertLess(flexExceed01.right)118 expect(textExceed01.bottom).assertLess(flexExceed01.bottom)120 expect(textExceed03.right).assertLess(flexExceed01.right)
76 expect(textHeightModify03.right).assertLess(flexHeightModify.right)117 expect(textHeightModify03.right).assertLess(flexHeightModify.right)
64 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);114 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);164 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);237 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);290 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);343 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);396 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);449 expect(len).assertLess(MAX_CHARACTERS_NUM_TWO);503 expect(len).assertLess(MAX_CHARACTERS_NUM_TWO);549 expect(len).assertLess(MAX_CHARACTERS_NUM_TWO);[all …]
52 expect(Math.abs(videoPlayer.duration - duration)).assertLess(500);78 expect(Math.abs(endTime - startTime - playTime)).assertLess(1000);206 expect(Math.abs(videoPlayer.duration - duration)).assertLess(500);227 expect(Math.abs(videoPlayer.duration - duration)).assertLess(500);
118 expect(obj['bitrate']/3).assertLess(descriptionValue[index++]);165 expect(Math.abs(videoPlayer.duration - duration)).assertLess(DELTA_TIME);
189 expect(Math.abs(property - descriptionValue[i])).assertLess(500);214 expect(Math.abs(property - descriptionValue[i])).assertLess(500);
44 expect(Math.abs(audioPlayer.duration - duration)).assertLess(500);
80 expect(Column_Space_Default_013.bottom).assertLess(Column_Space_Default_01.bottom);121 expect(Column_Space_Default_013.bottom).assertLess(Column_Space_Default_01.bottom);163 expect(Column_Space_Default_023.bottom).assertLess(Column_Space_Default_02.bottom);205 expect(Column_Space_Default_023.bottom).assertLess(Column_Space_Default_02.bottom);247 expect(Column_Space_Default_013.bottom).assertLess(Column_Space_Default_01.bottom);
79 expect(Column_Space_Default_013.bottom).assertLess(Column_Space_Default_01.bottom);120 expect(Column_Space_Default_013.bottom).assertLess(Column_Space_Default_01.bottom);162 expect(Column_Space_Default_023.bottom).assertLess(Column_Space_Default_02.bottom);204 expect(Column_Space_Default_023.bottom).assertLess(Column_Space_Default_02.bottom);246 expect(Column_Space_Default_013.bottom).assertLess(Column_Space_Default_01.bottom);
109 expect(y2).assertLess(y1);150 expect(y6).assertLess(y5);
73 assertLess(expectValue: number): void
79 expect(Column_flexShrink_013.bottom).assertLess(Column_flexShrink_01.bottom);124 expect(Column_flexShrink_013.bottom).assertLess(Column_flexShrink_01.bottom);169 expect(Column_flexShrink_013.bottom).assertLess(Column_flexShrink_01.bottom);209 expect(Column_flexShrink_023.bottom).assertLess(Column_flexShrink_02.bottom);
111 expect(y2).assertLess(y1);153 expect(y6).assertLess(y5);
122 expect(level).assertLess(7);