Ejemplo n.º 1
0
        public void ParseForLabel_VarietyOfLabels()
        {
            var diceRoller = new DiceRoller(numberGenerator);

            Assert.AreEqual("Total:", diceRoller.ParseForLabel(""));
            Assert.AreEqual("Attack:", diceRoller.ParseForLabel("Attack:"));
            Assert.AreEqual("A long label with lots of words:", diceRoller.ParseForLabel("A long label with lots of words:"));
            Assert.AreEqual("Damage:", diceRoller.ParseForLabel("Damage:"));
        }