the start of two tests

This commit is contained in:
Vincent Batts 2012-10-31 16:21:56 -04:00
parent 8e413fa985
commit d40e41de5a
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package com.redhat.trie;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
public class TestHuffNode {
@Test
public void testNew(){
HuffNode hn = new HuffNode(new Object(), 1);
assertNotNull(hn);
}
}

View File

@ -0,0 +1,18 @@
package com.redhat.trie;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
public class TestNodeContext {
@Test
public void testNew(){
NodeContext nc = new NodeContext();
assertNotNull(nc);
}
}