mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 1e4a3c057a into merged_master (Bitcoin PR #21317)
This commit is contained in:
commit
63f9d2d6c2
2 changed files with 4 additions and 1 deletions
|
|
@ -77,6 +77,9 @@ BOOST_AUTO_TEST_CASE(util_check)
|
|||
const int two = *Assert(p_two);
|
||||
Assert(two == 2);
|
||||
Assert(true);
|
||||
// Check that Assume can be used as unary expression
|
||||
const bool result{Assume(two == 2)};
|
||||
Assert(result);
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(util_criticalsection)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue