Searched refs:assertLess (Results 1 – 25 of 59) sorted by relevance
123
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 …]
852 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE)871 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);897 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);923 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE)943 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);968 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE)987 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);1013 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);1040 expect(len).assertLess(1001);1065 expect(len).assertLess(MAX_CHARACTERS_NUM_TWO);[all …]
65 expect((endTime - beginTime) / times).assertLess(120);92 expect((endTime - beginTime) / times).assertLess(120);120 expect((endTime - beginTime) / times).assertLess(120);146 expect((endTime - beginTime) / times).assertLess(50);173 expect((endTime - beginTime) / times).assertLess(1500);200 expect((endTime - beginTime) / times).assertLess(1500);
576 expect(isClaim).assertLess(0);616 expect(isClaim).assertLess(0);656 expect(isClaim).assertLess(0);696 expect(isClaim).assertLess(0);736 expect(isClaim).assertLess(0);911 expect(isClaim).assertLess(0);951 expect(isClaim).assertLess(0);991 expect(isClaim).assertLess(0);1031 expect(isClaim).assertLess(0);1071 expect(isClaim).assertLess(0);[all …]
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 …]
70 expect(textExceed01.bottom).assertLess(flexExceed01.bottom)72 expect(textExceed03.right).assertLess(flexExceed01.right)108 expect(textExceed01.bottom).assertLess(flexExceed01.bottom)110 expect(textExceed03.right).assertLess(flexExceed01.right)
72 expect(textHeightModify03.right).assertLess(flexHeightModify.right)111 expect(textHeightModify03.right).assertLess(flexHeightModify.right)
62 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);108 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);154 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);203 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);251 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);300 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);349 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);398 expect(len).assertLess(MAX_CHARACTERS_NUM_ONE);447 expect(len).assertLess(MAX_CHARACTERS_NUM_TWO);496 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(Math.abs(obj['bitrate'] - descriptionValue[index++])).assertLess(BITRATE_DELTA_TIME);165 expect(Math.abs(videoPlayer.duration - duration)).assertLess(DELTA_TIME);
44 expect(Math.abs(audioPlayer.duration - duration)).assertLess(500);
199 expect(Math.abs(property - descriptionValue[i])).assertLess(500);214 expect(Math.abs(property - descriptionValue[i])).assertLess(500);
73 assertLess(expectValue: number): void
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);
70 expect(y2).assertLess(y1);
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);
76 expect(distanceTop).assertLess(centerDistanceTop);179 expect(distanceTop).assertLess(centerDistanceTop);
62 expect(columnSetPadding.bottom).assertLess(columnSetPadding_3.bottom)
63 expect(columnSetPad.bottom).assertLess(columnSetPad_3.bottom)
71 expect(columnPosition_3.bottom).assertLess(columnPosition.bottom)