Пример #1
0
        public void myFunctionTest()
        {
            Hello target = new Hello(); // TODO: Initialize to an appropriate value

            bool actual = target.myFunction();
            Assert.AreEqual(true, actual);
        }
Пример #2
0
        public void multiplyTest()
        {
            Hello target = new Hello(); // TODO: Initialize to an appropriate value

            int actual = target.multiply(4,2);
            Assert.AreEqual(8, actual);
        }
Пример #3
0
        public void largeNumberTest()
        {
            Hello target = new Hello(); // TODO: Initialize to an appropriate value

            int actual = target.largeNumber(2,3,4);
            Assert.AreEqual(4, actual);
        }
Пример #4
0
        public void divideTest()
        {
            Hello target = new Hello(); // TODO: Initialize to an appropriate value

            int actual = target.divide(4,2);
            Assert.AreEqual(2, actual);
        }
Пример #5
0
        public void addTest()
        {
            Hello target = new Hello(); // TODO: Initialize to an appropriate value

            int actual = target.add(4,2);
            Assert.AreEqual(6, actual);
        }
Пример #6
0
 public void SaySomethingTest()
 {
     Hello target = new Hello(); // TODO: Initialize to an appropriate value
     string input = "world"; // TODO: Initialize to an appropriate value
     string expected = "Hello World"; // TODO: Initialize to an appropriate value
     string actual;
     actual = target.SaySomething(input);
     Assert.AreEqual(expected, actual);
 }