public void TestSimpleCharacterUpdate() { var orig = _rules.CreateCharacter("", "", _gnomeAllocations); var updated = _rules.UpdateCharacter(orig, _superStrongUpdate); var updatedSheet = updated.Sheet; Assert.AreEqual(20, AttribValue(updatedSheet.AttributeValues, "str", "abilities").Value); Assert.AreEqual(10, AttribValue(updatedSheet.AttributeValues, "int", "abilities").Value); Assert.AreEqual(5, AttribValue(updatedSheet.AttributeValues, "str", "ability-mods").Value); Assert.AreEqual(0, AttribValue(updatedSheet.AttributeValues, "int", "ability-mods").Value); }