Example #1
0
        public void AddMinus10Points()
        {
            IPlayerService playerService = new PlayerService();

            playerService.AddPoint(-10);
            Assert.AreEqual(-10, playerService.GetPoints());
        }
Example #2
0
        public void Add10Points()
        {
            var playerService = new PlayerService();

            playerService.AddPoint(10);
            Assert.AreEqual(10, playerService.GetPoints());
        }
Example #3
0
        public void AddPointTest()
        {
            PlayerService target = new PlayerService(); // TODO: Initialize to an appropriate value
            int           points = 0;                   // TODO: Initialize to an appropriate value

            target.AddPoint(points);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }