mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
tester: fix some tests
This commit is contained in:
parent
2dc1116da8
commit
c8ca91ec23
2 changed files with 3 additions and 3 deletions
|
|
@ -4107,8 +4107,8 @@ static void simple_stereo_call(const char *codec_name, int clock_rate, int bitra
|
|||
double similar;
|
||||
const double threshold = .7f;
|
||||
BC_ASSERT_EQUAL(ms_audio_diff(stereo_file,recordpath,&similar,audio_cmp_max_shift,NULL,NULL), 0, int, "%d");
|
||||
BC_ASSERT_GREATER(100*similar, threshold, float, "%f");
|
||||
BC_ASSERT_LOWER(100*similar, 1.f, float, "%f");
|
||||
BC_ASSERT_GREATER(similar, threshold, float, "%f");
|
||||
BC_ASSERT_LOWER(similar, 1.f, float, "%f");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ static void call_multicast_base(bool_t video) {
|
|||
BC_ASSERT_TRUE(call(pauline,marie));
|
||||
wait_for_until(marie->lc, pauline->lc, NULL, 1, 3000);
|
||||
if (linphone_core_get_current_call(marie->lc)) {
|
||||
BC_ASSERT_TRUE(linphone_call_get_audio_stats(linphone_core_get_current_call(marie->lc))->download_bandwidth>70);
|
||||
BC_ASSERT_GREATER(linphone_call_get_audio_stats(linphone_core_get_current_call(marie->lc))->download_bandwidth,70,int,"%d");
|
||||
if (video) {
|
||||
/*check video path*/
|
||||
linphone_call_set_next_video_frame_decoded_callback(linphone_core_get_current_call(marie->lc),linphone_call_cb,marie->lc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue