mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Revert "fix unused-variable warning"
This reverts commit ac02b589beebad99820a8b42e6b96e598e7da929.
This commit is contained in:
parent
5fa5e142b9
commit
68dab83799
@ -68,10 +68,8 @@ TEST(depth, ctor) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST(depth, convert_throw) {
|
TEST(depth, convert_throw) {
|
||||||
u32 v;
|
ASSERT_THROW(u32 v = depth::infinity(), DepthOverflowError);
|
||||||
(void)v;
|
ASSERT_THROW(u32 v = depth::unreachable(), DepthOverflowError);
|
||||||
ASSERT_THROW(v = depth::infinity(), DepthOverflowError);
|
|
||||||
ASSERT_THROW(v = depth::unreachable(), DepthOverflowError);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(depth, is_finite) {
|
TEST(depth, is_finite) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user