src/media/audio/audio_core/mixer/test/mixer_response_tests.cc
// Measure level response and noise floor for 1kHz sine from 8-bit source.
Measure level response and noise floor for 1kHz sine from 8-bit source.
Measure level response and noise floor for 1kHz sine from 8 - bit source .
TEST(NoiseFloor, Source_8) {
  AudioResult::LevelSource8 = MeasureSourceNoiseFloor<ASF::UNSIGNED_8>(&AudioResult::FloorSource8);
  EXPECT_NEAR(AudioResult::LevelSource8, 0.0, AudioResult::kPrevLevelToleranceSource8);
  AudioResult::LevelToleranceSource8 =
      fmax(AudioResult::LevelToleranceSource8, abs(AudioResult::LevelSource8));
  EXPECT_GE(AudioResult::FloorSource8, AudioResult::kPrevFloorSource8)
      << std::setprecision(10) << AudioResult::FloorSource8;
}
TEST ( NoiseFloor , Source_8 ) { AudioResult :: LevelSource8 = MeasureSourceNoiseFloor < ASF :: UNSIGNED_8 > ( & AudioResult :: FloorSource8 ) ; EXPECT_NEAR ( AudioResult :: LevelSource8 , 0.0 , AudioResult :: kPrevLevelToleranceSource8 ) ; AudioResult :: LevelToleranceSource8 = fmax ( AudioResult :: LevelToleranceSource8 , abs ( AudioResult :: LevelSource8 ) ) ; EXPECT_GE ( AudioResult :: FloorSource8 , AudioResult :: kPrevFloorSource8 ) << std :: setprecision ( 10 ) << AudioResult :: FloorSource8 ; }
Measure level response and noise floor for 1kHz sine from 8-bit source.
Measure level response and noise floor for 1kHz sine from 8 - bit source .