Beispiel #1
0
        public void HelloWorldTester()
        {
            // ARRANGE
            var checker = new helloWorld1.helloWorldTester();
            // ACT
            var result = checker.helloWorld("Hello World", "Hello World");

            // ASSERT
            Assert.AreEqual(true, result);
        }
Beispiel #2
0
        public void TestIfStringIsEmpty()
        {
            // ARRANGE
            var check = new helloWorld1.helloWorldTester();

            //ACT
            var result = check.helloWorld(string.Empty, string.Empty);
            //ASSERT

            Assert.AreEqual(true, result);
        }
Beispiel #3
0
        public void TestIfStringContainsUpperCaseH()
        {
            // ARRANGE
            var check = new helloWorld1.helloWorldTester();

            // ACT
            var result = check.helloWorld("Hello World", "");

            // ASSERT
            Assert.AreEqual(true, result);
        }
Beispiel #4
0
        public void TestIfStringIsDifferent()
        {
            // ACT
            var check = new helloWorld1.helloWorldTester();

            // ARRANGE

            var result = check.helloWorld("Hello World", "");

            // ASSERT
            Assert.AreEqual(true, result);
        }