Exemplo n.º 1
0
 public void GetResistance()
 {
     Assert.AreEqual(new ItemValueRange(1, 10), resistAttr.GetResistance("All"));
     Assert.AreEqual(new ItemValueRange(2, 20), resistAttr.GetResistance("Arcane"));
     Assert.AreEqual(new ItemValueRange(3, 30), resistAttr.GetResistance("Cold"));
     Assert.AreEqual(new ItemValueRange(4, 40), resistAttr.GetResistance("Fire"));
     Assert.AreEqual(new ItemValueRange(5, 50), resistAttr.GetResistance("Lightning"));
     Assert.AreEqual(new ItemValueRange(6, 60), resistAttr.GetResistance("Physical"));
     Assert.AreEqual(new ItemValueRange(7, 70), resistAttr.GetResistance("Poison"));
 }