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