コード例 #1
0
 @Test
 public void testSetItemEffect() {
   freshWater.setItemEffect(testList);
   assertEquals(EffectType.FREEZE, freshWater.getItemEffect().get(0).getEffectIndex());
   ultraBall.setItemEffect(testList);
   assertEquals(EffectType.FREEZE, ultraBall.getItemEffect().get(0).getEffectIndex());
 }
コード例 #2
0
 @Test
 public void testGetEffect() {
   assertEquals(EffectType.RECOVERCONST, freshWater.getItemEffect().get(0).getEffectIndex());
   assertEquals(EffectType.RECOVERFULL, maxRevive.getItemEffect().get(0).getEffectIndex());
 }