Ejemplo n.º 1
0
 public PriorityTest()
 {
     EffectIngredientPriority
     .Setup(x => x.GetPriority(It.IsAny <IIngredient>()))
     .Returns((IIngredient ingredient) => {
         if (ingredient == AllIngredients.RiverBetty)
         {
             return(20);
         }
         else if (ingredient == AllIngredients.Nirnroot)
         {
             return(10);
         }
         else
         {
             return(0);
         }
     });
 }
Ejemplo n.º 2
0
 public BaseIngredientsSamePriority()
 {
     EffectIngredientPriority
     .Setup(x => x.GetPriority(It.IsAny <IIngredient>()))
     .Returns(0);
 }