Пример #1
0
        public void FrontAgain(string str, bool expected)
        {
            Strings Obj = new Strings();

            bool actual = Obj.FrontAgain(str);

            Assert.AreEqual(expected, actual);
        }
Пример #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);
 }
Пример #3
0
 public void FrontAgain(string a, bool expResult)
 {
     Strings obj = new Strings();
     bool actual = obj.FrontAgain(a);
     Assert.AreEqual(actual, expResult);
 }
Пример #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);
        }