Open main menu
Home
Random
Log in
Settings
About CMSC 420
Disclaimers
CMSC 420
Search
Changes
← Older edit
Newer edit →
Jesse HexTrie Junit Test
(view source)
Revision as of 02:02, 16 May 2012
302 bytes removed
,
02:02, 16 May 2012
no edit summary
Line 186:
Line 186:
assertUniqueKeys(ht);
assertUniqueKeys(ht);
verifyOrder(ht.getRootNode(), leafOrder, isBstar);
verifyOrder(ht.getRootNode(), leafOrder, isBstar);
−
Document outputDoc = ht.getXmlDocumentSnapshot();
−
assertTrue(BPTreeValidator.validateOutputDocument(outputDoc, DefaultComparator.instance));
}
}
assertTrue(ht.size() == 0 && ht.isEmpty());
assertTrue(ht.size() == 0 && ht.isEmpty());
Line 223:
Line 221:
assertUniqueKeys(ht);
assertUniqueKeys(ht);
verifyOrder(ht.getRootNode(), leafOrder, isBstar);
verifyOrder(ht.getRootNode(), leafOrder, isBstar);
−
Document outputDoc = ht.getXmlDocumentSnapshot();
−
assertTrue(BPTreeValidator.validateOutputDocument(outputDoc, DefaultComparator.instance));
}
}
assertTrue(ht.size() == 0 && ht.isEmpty());
assertTrue(ht.size() == 0 && ht.isEmpty());
Jesse
9
edits