diff options
author | James Zern <jzern@google.com> | 2013-12-18 18:33:49 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2013-12-18 18:33:49 -0800 |
commit | 949194db3b6b7733b15fbc6826ceb4969c242afe (patch) | |
tree | 24f77736c49fde1e7221e9e56dc53b5c9dde8443 | |
parent | 829ec56b477fe1d194a656a5f705e07be66a1be8 (diff) | |
parent | 19c53534bd86f8ee49b431f34b5d43560954b115 (diff) | |
download | libvpx-949194db3b6b7733b15fbc6826ceb4969c242afe.tar libvpx-949194db3b6b7733b15fbc6826ceb4969c242afe.tar.gz libvpx-949194db3b6b7733b15fbc6826ceb4969c242afe.tar.bz2 libvpx-949194db3b6b7733b15fbc6826ceb4969c242afe.zip |
Merge "test/partial_idct_test: fix formatting and a warning"
-rw-r--r-- | test/partial_idct_test.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/partial_idct_test.cc b/test/partial_idct_test.cc index 14b78f6c4..84a1d460c 100644 --- a/test/partial_idct_test.cc +++ b/test/partial_idct_test.cc @@ -58,21 +58,21 @@ TEST_P(PartialIDctTest, ResultsMatch) { ACMRandom rnd(ACMRandom::DeterministicSeed()); int size; switch (tx_size_) { - case TX_4X4: - size = 4; - break; - case TX_8X8: - size = 8; - break; - case TX_16X16: - size = 16; - break; - case TX_32X32: - size = 32; - break; - default: - ASSERT_TRUE(0) << "Wrong Size!"; - break; + case TX_4X4: + size = 4; + break; + case TX_8X8: + size = 8; + break; + case TX_16X16: + size = 16; + break; + case TX_32X32: + size = 32; + break; + default: + FAIL() << "Wrong Size!"; + break; } DECLARE_ALIGNED_ARRAY(16, int16_t, test_coef_block1, kMaxNumCoeffs); DECLARE_ALIGNED_ARRAY(16, int16_t, test_coef_block2, kMaxNumCoeffs); |