Exemplo n.º 1
0
        public void StarsBackwords()
        {
            //Arrange
            var word           = "Stars";
            var expectedResult = false;
            var reverserTests  = new Reverser();

            // Act
            bool actualResult = reverserTests.ReverserTester(word);

            // Assert
            Assert.Equal(expectedResult, actualResult);
        }
Exemplo n.º 2
0
        public void FunnyThings()
        {
            //Arrange
            var word           = "I write funny things that make people sad";
            var expectedResult = false;
            var reverserTests  = new Reverser();

            // Act
            bool actualResult = reverserTests.ReverserTester(word);

            // Assert
            Assert.Equal(expectedResult, actualResult);
        }
Exemplo n.º 3
0
        public void NineMemosBackwords()
        {
            //Arrange
            var word           = "Some men interpret nine memos";
            var expectedResult = true;
            var reverserTests  = new Reverser();

            // Act
            bool actualResult = reverserTests.ReverserTester(word);

            // Assert
            Assert.Equal(expectedResult, actualResult);
        }
Exemplo n.º 4
0
        public void Anna()
        {
            //Arrange
            var word           = "Anna";
            var expectedResult = true;
            var reverserTests  = new Reverser();

            // Act
            bool actualResult = reverserTests.ReverserTester(word);

            // Assert
            Assert.Equal(expectedResult, actualResult);
        }
Exemplo n.º 5
0
        public void GiberishBackwords()
        {
            //Arrange
            var word           = "O, a kak Uwakov lil vo kawu kakao!";
            var expectedResult = true;
            var reverserTests  = new Reverser();

            // Act
            bool actualResult = reverserTests.ReverserTester(word);

            // Assert
            Assert.Equal(expectedResult, actualResult);
        }