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