예제 #1
0
 @Test
 public void testAddEntry() {
   sTree = new SkillTree(0);
   sTree.addEntry(entry);
   assertThat(sTree.getEntry(entry.getJutsu().getJutsuProps().getID()))
       .isNotNull()
       .isEqualTo(entry);
 }
예제 #2
0
 @Test
 public void testContains2() {
   sTree = new SkillTree(0);
   sTree.addEntry(entry);
   assertThat(sTree.contains(JutsuParams.MEISAIGAKURE.getJutsuID())).isTrue();
 }
예제 #3
0
 @Test
 public void testContains1() {
   sTree = new SkillTree(0);
   sTree.addEntry(entry);
   assertThat(sTree.contains(entry)).isTrue();
 }
예제 #4
0
 @Test
 public void testConstructor() {
   sTree = new SkillTree(0);
   assertThat(sTree.getEntryMap()).isNotNull();
 }