From 37a33c55451f0ba573e24dd2b1ecdca441b3a03b Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 2 Nov 2012 11:12:01 -0400 Subject: [PATCH] debugging output in the unit test --- src/test/java/com/redhat/trie/TestPathTree.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/redhat/trie/TestPathTree.java b/src/test/java/com/redhat/trie/TestPathTree.java index 0599c9f..f00545b 100644 --- a/src/test/java/com/redhat/trie/TestPathTree.java +++ b/src/test/java/com/redhat/trie/TestPathTree.java @@ -67,17 +67,26 @@ public class TestPathTree { pt1 = new PathTree(bytes); contents1 = pt1.toList(); + System.out.println(contents0.size()); + System.out.println(contents1.size()); + Collections.sort(contents0); Collections.sort(contents1); + System.out.println("Originals, not in New"); for (String thisS : contents0) { if (! contents1.contains(thisS)) { System.out.println(thisS); } } - //System.out.println(contents0.size()); - //System.out.println(contents1.size()); + System.out.println("New, not in Original"); + for (String thisS : contents1) { + if (! contents0.contains(thisS)) { + System.out.println(thisS); + } + } + assertEquals(contents0.size(), contents1.size()); }