debugging output in the unit test
This commit is contained in:
parent
c9081b41b5
commit
37a33c5545
1 changed files with 11 additions and 2 deletions
|
@ -67,17 +67,26 @@ public class TestPathTree {
|
||||||
pt1 = new PathTree(bytes);
|
pt1 = new PathTree(bytes);
|
||||||
contents1 = pt1.toList();
|
contents1 = pt1.toList();
|
||||||
|
|
||||||
|
System.out.println(contents0.size());
|
||||||
|
System.out.println(contents1.size());
|
||||||
|
|
||||||
Collections.sort(contents0);
|
Collections.sort(contents0);
|
||||||
Collections.sort(contents1);
|
Collections.sort(contents1);
|
||||||
|
|
||||||
|
System.out.println("Originals, not in New");
|
||||||
for (String thisS : contents0) {
|
for (String thisS : contents0) {
|
||||||
if (! contents1.contains(thisS)) {
|
if (! contents1.contains(thisS)) {
|
||||||
System.out.println(thisS);
|
System.out.println(thisS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//System.out.println(contents0.size());
|
System.out.println("New, not in Original");
|
||||||
//System.out.println(contents1.size());
|
for (String thisS : contents1) {
|
||||||
|
if (! contents0.contains(thisS)) {
|
||||||
|
System.out.println(thisS);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
assertEquals(contents0.size(), contents1.size());
|
assertEquals(contents0.size(), contents1.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue