Exemple #1
0
        public void AddTest()
        {
            var obj    = new Class1();
            var result = obj.Add(3, 2);

            Assert.True(result == 5);
        }
Exemple #2
0
        public void TestMultipleCombinations(int value1, int value2)
        {
            var obj    = new Class1();
            var result = obj.Add(value1, value2);

            output.WriteLine($"Debug text Running the test for {value1} & {value2}");
            Assert.True(result == value1 + value2);
        }