Commit c8ca91ec authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

tester: fix some tests

parent 2dc1116d
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment