bitSet: macros and vector storage
use std::vector<uint64> to manage storage. Make some global variable "constants" into macros. add swap()
This commit is contained in:
@@ -140,6 +140,7 @@ static void testOperators()
|
||||
|
||||
|
||||
testDiag("assign");
|
||||
testOk1(b1 != b2);
|
||||
b1 = b2;
|
||||
testOk1(b1 == b2);
|
||||
|
||||
@@ -266,7 +267,7 @@ static void testSerialize()
|
||||
|
||||
MAIN(testBitSet)
|
||||
{
|
||||
testPlan(78);
|
||||
testPlan(79);
|
||||
testGetSetClearFlip();
|
||||
testOperators();
|
||||
testSerialize();
|
||||
|
||||
Reference in New Issue
Block a user