Example #1
0
        public void FrontAgain(string str, bool expected)
        {
            Strings Obj = new Strings();

            bool actual = Obj.FrontAgain(str);

            Assert.AreEqual(expected, actual);
        }
Example #2
0
 public void FrontAgain(string str, bool expected)
 {
     //arrange
     Strings obj = new Strings();
     //act
     bool actual = obj.FrontAgain(str);
     //assert
     Assert.AreEqual(expected, actual);
 }
Example #3
0
 public void FrontAgain(string a, bool expResult)
 {
     Strings obj = new Strings();
     bool actual = obj.FrontAgain(a);
     Assert.AreEqual(actual, expResult);
 }
Example #4
0
        public void FrontAgain(string str, bool expectedResult)
        {
            //Arrange: get my target class
            Strings test = new Strings();

            //Act: call the method
            bool answer = test.FrontAgain(str);

            //Assert
            Assert.AreEqual(expectedResult, answer);
        }