AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | List of all members
alexaClientSDK::acsdkEqualizer::test::EqualizerLinearBandMapperTest Class Reference
Inheritance diagram for alexaClientSDK::acsdkEqualizer::test::EqualizerLinearBandMapperTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkEqualizer::test::EqualizerLinearBandMapperTest:
Collaboration graph
[legend]

Protected Member Functions

void testAllValuesEqual (int numberOfBands, int value)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 

Detailed Description

Test fixture for EqualizerLinearBandMapper tests

Member Function Documentation

◆ testAllValuesEqual()

void alexaClientSDK::acsdkEqualizer::test::EqualizerLinearBandMapperTest::testAllValuesEqual ( int  numberOfBands,
int  value 
)
protected

Helper method to test cases when all original band levels are the same and mapped levels are expected to be the same. This ensures the expectation that all both AVS bands and target bands cover whole frequency spectrum.

Parameters
numberOfBandsNumber of bands to map AVS bands to.
valueBand level value to be used for testing.

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0