Lines Matching full:expand
11 // Unit tests for Expand class.
13 #include "modules/audio_coding/neteq/expand.h"
27 TEST(Expand, CreateAndDestroy) { in TEST() argument
34 Expand expand(&bgn, &sync_buffer, &random_vector, &statistics, fs, channels); in TEST() local
37 TEST(Expand, CreateUsingFactory) { in TEST() argument
45 Expand* expand = expand_factory.Create(&bgn, &sync_buffer, &random_vector, in TEST() local
47 EXPECT_TRUE(expand != NULL); in TEST()
48 delete expand; in TEST()
110 Expand expand_;
113 // This test calls the expand object to produce concealment data a few times,
148 // difference that Expand::Reset() is called after 5 calls to Expand::Process().
171 // Runs expand until Muted() returns true. Times out after 1000 calls.
172 void ExpandUntilMuted(size_t num_channels, Expand* expand) { in ExpandUntilMuted() argument
173 EXPECT_FALSE(expand->Muted()) << "Instance is muted from the start"; in ExpandUntilMuted()
176 while (!expand->Muted()) { in ExpandUntilMuted()
178 EXPECT_EQ(0, expand->Process(&output)); in ExpandUntilMuted()
183 // Verifies that Muted() returns true after a long expand period. Also verifies
195 expand_.Reset(); // Must reset in order to start a new expand period. in TEST_F()