Esempio n. 1
0
        public void AtFirst(string str, string expected)
        {
            Strings Obj = new Strings();

            string actual = Obj.AtFirst(str);

            Assert.AreEqual(expected, actual);
        }
Esempio n. 2
0
 public void AtFirst(string str, string expected)
 {
     //arrange
     Strings obj = new Strings();
     //act
     string actual = obj.AtFirst(str);
     //assert
     Assert.AreEqual(expected, actual);
 }
Esempio n. 3
0
        public void AtFirst(string str, string expectedResult)
        {
            //Arrange: get your target
            Strings test = new Strings();

            //Act: Call the method
            string actual = test.AtFirst(str);

            //Assert
            Assert.AreEqual(expectedResult, actual);
        }
Esempio n. 4
0
 public void AtFirst(string a, string expResult)
 {
     Strings obj = new Strings();
     string actual = obj.AtFirst(a);
     Assert.AreEqual(expResult, actual);
 }