Exemplo n.º 1
0
        public void TestSimpleCharacterCreationWithSpecification()
        {
            var character      = _rules.CreateCharacter("", "", _gnomeAllocations);
            var characterSheet = character.Sheet;

            Assert.AreEqual(8, AttribValue(characterSheet.AttributeValues, "str", "abilities").Value);
            Assert.AreEqual(10, AttribValue(characterSheet.AttributeValues, "int", "abilities").Value);

            Assert.AreEqual(-1, AttribValue(characterSheet.AttributeValues, "str", "ability-mods").Value);
            Assert.AreEqual(0, AttribValue(characterSheet.AttributeValues, "int", "ability-mods").Value);
        }