Beispiel #1
0
 public void StripX(string str, string expected)
 {
     //arrange
     Strings obj = new Strings();
     //act
     string actual = obj.StripX(str);
     //assert
     Assert.AreEqual(expected, actual);
 }
Beispiel #2
0
        public void stripX(string str, string expectedResult)
        {
            //Arrange: get my target class
            Strings test = new Strings();

            //Act: call the method
            string answer = test.StripX(str);

            //Assert
            Assert.AreEqual(expectedResult, answer);
        }
Beispiel #3
0
 public void StripX(string a, string expResult)
 {
     Strings obj = new Strings();
     string actual = obj.StripX(a);
     Assert.AreEqual(expResult, actual);
 }
Beispiel #4
0
        public void StripX(string str, string expected)
        {
            Strings Obj = new Strings();

            string actual = Obj.StripX(str);

            Assert.AreEqual(expected, actual);
        }