Esempio n. 1
0
 public void FrontAndBack(string str, int n, string expected)
 {
     //arrange
     Strings obj = new Strings();
     //act
     string actual = obj.FrontAndBack(str, n);
     //assert
     Assert.AreEqual(expected, actual);
 }
Esempio n. 2
0
        public void FrontAndBack(string str, int n, string expectedResult)
        {
            //arrange
            Strings test = new Strings();

            //Act
            string actual = test.FrontAndBack(str, n);

            //assert
            Assert.AreEqual(expectedResult, actual);
        }
Esempio n. 3
0
 public void FrontAndBack(string a, int b, string expResult)
 {
     Strings obj = new Strings();
     string actual = obj.FrontAndBack(a, b);
     Assert.AreEqual(expResult, actual);
 }
Esempio n. 4
0
        public void FrontAndBack(string str, int n, string expected)
        {
            Strings obj = new Strings();

            string actual = obj.FrontAndBack(str, n);

            Assert.AreEqual(expected, actual);
        }