Skip to content

Commit

Permalink
it
Browse files Browse the repository at this point in the history
  • Loading branch information
olofkallander committed Oct 25, 2023
1 parent 537c0e3 commit 841585d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/ConfIntegrationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ TEST_F(IntegrationTest, confList)
EXPECT_LT(data.amplitudeProfile[0].second, 100);

EXPECT_NEAR(data.amplitudeProfile.back().second, MIXED_VOLUME, 250);
EXPECT_NEAR(data.amplitudeProfile.back().first, 48000 * 1.25, 48000 * 0.2);
EXPECT_NEAR(data.rampupAbove(3100), 48000 * 1.25, 48000 * 0.2);
}

EXPECT_EQ(data.audioSsrcCount, 1);
Expand Down
4 changes: 3 additions & 1 deletion test/integration/IntegrationCallTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ TEST_P(IntegrationCallTypesTest, party3AllModes)
{
EXPECT_LT(data.amplitudeProfile[0].second, 100);

EXPECT_NEAR(data.amplitudeProfile.back().second, 3600, 500);
EXPECT_NEAR(std::max_element(data.amplitudeProfile.begin(), data.amplitudeProfile.end())->second,
3600,
500);
EXPECT_NEAR(data.rampupAbove(3100), 48000 * 1.22, 48000);
}

Expand Down

0 comments on commit 841585d

Please sign in to comment.