Exemple #1
0
        public void TestMethodAreNotEqual()
        {
            string dbString = GetMockString();

            //get our result and test againt equality
            string result = StringsWork.ReverseTestCase(dbString);

            Assert.AreNotEqual(result, expectedInValidOutput);
        }
Exemple #2
0
        public void TestMethodEmptyString()
        {
            string expectedResult = string.Empty;
            string workString     = "    ";

            //get our result and test against null string
            string result = StringsWork.ReverseTestCase(workString);

            Assert.AreEqual(result, expectedResult);
        }