mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
tweak test code to check int62_t::min and flag bit
This commit is contained in:
parent
179f2b2624
commit
b06b856934
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ atomic_masks ()
|
||||||
cerr << "should be -1: " << x.val() << endl;
|
cerr << "should be -1: " << x.val() << endl;
|
||||||
|
|
||||||
x = int62_t::build (false, int62_t::min);
|
x = int62_t::build (false, int62_t::min);
|
||||||
cerr << "should be " << int62_t::min << ' ' << x.val() << endl;
|
cerr << "should be " << int62_t::min << ' ' << x.val() << " flagged ? " << x.flagged() << endl;
|
||||||
|
|
||||||
x = int62_t::build (true, int62_t::min);
|
x = int62_t::build (true, int62_t::min);
|
||||||
cerr << "should still be " << int62_t::min << ' ' << x.val() << " and also flag: " << x.flagged() << endl;
|
cerr << "should still be " << int62_t::min << ' ' << x.val() << " and also flag: " << x.flagged() << endl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue