Пример #1
0
        public void CheckLastPosition()
        {
            var checkString = new CheckStringPosition().CheckPosition("string is this");

            Assert.AreEqual("Valid", checkString);
        }
Пример #2
0
        public void CheckFirstPosition()
        {
            var checkString = new CheckStringPosition().CheckPosition("this is string");

            Assert.AreEqual("Hi", checkString);
        }
Пример #3
0
        public void CheckMiddlePosition()
        {
            var checkString = new CheckStringPosition().CheckPosition("is this string");

            Assert.AreEqual("test pass", checkString);
        }
Пример #4
0
        public void TestTheNullValueCheck()
        {
            var checkString = new CheckStringPosition().CheckPosition("");

            Assert.IsNull(checkString);
        }