예제 #1
0
        public void doubleNumber_9()
        {
            var actual = PlayDartsGame.GetScore(-145.19, 86.53);

            Assert.AreEqual("D9", actual);
        }
예제 #2
0
        public void OutSideTest()
        {
            var actual = PlayDartsGame.GetScore(-133.690, -147.380);

            Assert.AreEqual("X", actual);
        }
예제 #3
0
        public void tripleNumber_2()
        {
            var actual = PlayDartsGame.GetScore(55.53, -87.95);

            Assert.AreEqual("T2", actual);
        }
예제 #4
0
        public void SingleNumber_7()
        {
            var actual = PlayDartsGame.GetScore(-73.905, -95.94);

            Assert.AreEqual("7", actual);
        }
예제 #5
0
        public void SingleNumber_20()
        {
            var actual = PlayDartsGame.GetScore(-5.43, 117.95);

            Assert.AreEqual("20", actual);
        }
예제 #6
0
        public void Bull()
        {
            var actual = PlayDartsGame.GetScore(2.38, -6.06);

            Assert.AreEqual("SB", actual);
        }
예제 #7
0
        public void BullEye()
        {
            var actual = PlayDartsGame.GetScore(4.06, 0.71);

            Assert.AreEqual("DB", actual);
        }