Permalink
Browse files

Fixed test method

  • Loading branch information...
tzaeschke committed Aug 7, 2018
1 parent 9f774ae commit 9876d44e28ad71067a666455584610d654d5cd37
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/test/java/ch/ethz/globis/phtree/bst/TestBST16.java
@@ -119,7 +119,7 @@ private void runTest(List<BSTEntry> list, String prefix) {
long l52 = System.currentTimeMillis();
long l61 = System.currentTimeMillis();
BSTIteratorMask iterMask = new BSTIteratorMask().reset(ht.getRoot(), 0, 0xFFFFFFFFFFFEL);
BSTIteratorMask iterMask = new BSTIteratorMask().reset(ht.getRoot(), 0, 0xFFFFFFFFFFFEL, ht.getEntryCount());
prev = -2;
while (iterMask.hasNextEntry()) {
long current = iterMask.nextEntry().getKey();
@@ -202,7 +202,7 @@ private void checkEmpty(Node ht) {
BSTIteratorAll iter = ht.iterator();
assertFalse(iter.hasNextEntry());
BSTIteratorMask iterMask = new BSTIteratorMask().reset(ht.getRoot(), 0, 0xFFFFFFFFFFFEL);
BSTIteratorMask iterMask = new BSTIteratorMask().reset(ht.getRoot(), 0, 0xFFFFFFFFFFFEL, ht.getEntryCount());
assertFalse(iterMask.hasNextEntry());
BSTEntry e2 = ht.bstRemove(12345, null, null);

0 comments on commit 9876d44

Please sign in to comment.