tweak test code to check int62_t::min and flag bit
This commit is contained in:
parent
179f2b2624
commit
b06b856934
@ -152,7 +152,7 @@ atomic_masks ()
|
||||
cerr << "should be -1: " << x.val() << endl;
|
||||
|
||||
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);
|
||||
cerr << "should still be " << int62_t::min << ' ' << x.val() << " and also flag: " << x.flagged() << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user