mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
fix unused-variable warning
This commit is contained in:
parent
f8fdd979f1
commit
ac02b589be
@ -68,8 +68,10 @@ TEST(depth, ctor) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST(depth, convert_throw) {
|
TEST(depth, convert_throw) {
|
||||||
ASSERT_THROW(u32 v = depth::infinity(), DepthOverflowError);
|
u32 v;
|
||||||
ASSERT_THROW(u32 v = depth::unreachable(), DepthOverflowError);
|
(void)v;
|
||||||
|
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