Beispiel #1
0
 public void TakeOne(string a, bool b, string expResult)
 {
     Strings obj = new Strings();
     string actual = obj.TakeOne(a, b);
     Assert.AreEqual(expResult, actual);
 }
Beispiel #2
0
 public void TakeOne(string str, bool fromFront, string expected)
 {
     //arrange
     Strings obj = new Strings();
     //act
     string actual = obj.TakeOne(str, fromFront);
     //assert
     Assert.AreEqual(expected, actual);
 }
Beispiel #3
0
        public void TakeOne(string str, bool fromFront, string expectedResult)
        {
            //arrange
            Strings test = new Strings();

            //Act
            string actual = test.TakeOne(str, fromFront);

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