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:
Michael Davidsaver
2016-02-18 18:39:32 -05:00
parent 336a8b3bc2
commit 4c32f37ede
3 changed files with 119 additions and 177 deletions

View File

@@ -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();