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 a7a6f1f commit d5a31b7Copy full SHA for d5a31b7
src/test/fuzz/block.cpp
@@ -62,4 +62,8 @@ void test_one_input(const std::vector<uint8_t>& buffer)
62
const size_t raw_memory_size = RecursiveDynamicUsage(block);
63
const size_t raw_memory_size_as_shared_ptr = RecursiveDynamicUsage(std::make_shared<CBlock>(block));
64
assert(raw_memory_size_as_shared_ptr > raw_memory_size);
65
+ CBlock block_copy = block;
66
+ block_copy.SetNull();
67
+ const bool is_null = block_copy.IsNull();
68
+ assert(is_null);
69
}
0 commit comments