We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13552f8 commit 7f3a6a2Copy full SHA for 7f3a6a2
tests/unit/test_svs.cpp
@@ -8,11 +8,10 @@
8
9
#define ASSERT_INDEX(index) \
10
if (index == nullptr) { \
11
- const auto quantBits = TypeParam::get_quant_bits(); \
12
- if (quantBits != VecSimSvsQuant_NONE && !svs_details::isSVSLVQModeSupported(quantBits)) { \
13
- GTEST_SKIP() << "SVS LVQ is not supported."; \
14
- } else { \
+ if (svs_details::isSVSLVQModeSupported(TypeParam::get_quant_bits())) { \
15
GTEST_FAIL() << "Failed to create SVS index"; \
+ } else { \
+ GTEST_SKIP() << "SVS LVQ is not supported."; \
16
} \
17
}
18
0 commit comments