Exemple #1
0
        public void AbbaTest(string a, string b, string expResult)
        {
            Strings obj    = new Strings();
            string  actual = obj.Abba(a, b);

            Assert.AreEqual(expResult, actual);
        }
Exemple #2
0
        public void AbbaTest(string a, string b, string expectedResult)
        {
            //arrange
            Strings obj = new Strings();

            //Act
            string actual = obj.Abba(a, b);

            //Assert
            Assert.AreEqual(expectedResult, actual);
        }
        public void AbbaTest(string a, string b, string expected)
        {
            var actual = _strings.Abba(a, b);

            Assert.AreEqual(expected, actual);
        }
Exemple #4
0
        public void AbbaTest(string a, string b, string expected)
        {
            string actual = obj.Abba(a, b);

            Assert.AreEqual(expected, actual);
        }
        public void AbbaReturnsExpected(string a, string b, string expected)
        {
            string result = _strings.Abba(a, b);

            Assert.AreEqual(expected, result);
        }