Exemple #1
0
        public void GetResult_input_1_1_1_1_Should_Be_Same_Color()
        {
            //arrange
            input = new List <int> {
                1, 1, 1, 1
            };
            var target   = new Sibala();
            var expected = "same color";

            //act
            var actual = target.GetResult(input);

            //assert
            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void GetResult_input_5_1_5_2_Should_Be_BG()
        {
            //arrange
            input = new List <int> {
                5, 1, 5, 2
            };
            var target   = new Sibala();
            var expected = "BG";

            //act
            var actual = target.GetResult(input);

            //assert
            Assert.AreEqual(expected, actual);
        }
Exemple #3
0
        public void GetResult_input_1_6_1_6_Should_Be_Sibala()
        {
            //arrange
            input = new List <int> {
                1, 6, 1, 6
            };
            var target   = new Sibala();
            var expected = "Sibala";

            //act
            var actual = target.GetResult(input);

            //assert
            Assert.AreEqual(expected, actual);
        }
Exemple #4
0
        public void GetResult_input_1_2_3_1_Should_Be_5_points()
        {
            //arrange
            input = new List <int> {
                1, 2, 3, 1
            };
            var target   = new Sibala();
            var expected = "5 points";

            //act
            var actual = target.GetResult(input);

            //assert
            Assert.AreEqual(expected, actual);
        }