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

            string actual = obj.FirstHalf(str);

            Assert.AreEqual(expected, actual);
        }
Пример #2
0
 public void FirstHalf(string str, string expected)
 {
     //arrange
     Strings obj = new Strings();
     //act
     string actual = obj.FirstHalf(str);
     //assert
     Assert.AreEqual(expected, actual);
 }
Пример #3
0
        public void FirstHalf(string str, string expectedResult)
        {
            //Arrange
            Strings test = new Strings();

            //Act
            string actual = test.FirstHalf(str);

            //Assert
            Assert.AreEqual(expectedResult, actual);
        }
Пример #4
0
 public void FirstHalf(string a, string expResult)
 {
     Strings obj = new Strings();
     string actual = obj.FirstHalf(a);
     Assert.AreEqual(expResult, actual);
 }