the start of two tests
This commit is contained in:
parent
8e413fa985
commit
d40e41de5a
2 changed files with 36 additions and 0 deletions
18
src/test/java/com/redhat/trie/TestHuffNode.java
Normal file
18
src/test/java/com/redhat/trie/TestHuffNode.java
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
18
src/test/java/com/redhat/trie/TestNodeContext.java
Normal file
18
src/test/java/com/redhat/trie/TestNodeContext.java
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue