示例#1
0
        public void Successfully_Average_EvenDice()
        {
            var res = Roller.Average("4d6");

            Assert.AreEqual("4d6 => 3 + 4 + 3 + 4 => 14", res.ToString());
        }
示例#2
0
        public void Successfully_Average_OddDice()
        {
            var res = Roller.Average("3d6");

            Assert.AreEqual("3d6 => 3 + 4 + 3 => 10", res.ToString());
        }