Ejemplo n.º 1
0
 public void TestNegativeDecrepitudeLoss()
 {
     Attribute attribute = new Attribute(-2);
     attribute.AddDecrepitude((byte)(3));
     Assert.AreEqual(-3, attribute.Value);
 }
Ejemplo n.º 2
0
 public void TestDecrepitudeLoss()
 {
     Attribute attribute = new Attribute(2);
     attribute.AddDecrepitude((byte)(3));
     Assert.AreEqual(1, attribute.Value);
 }