public void TestMethod1()
        {
            var  loveCalculator = new LoveCalculator();
            bool calculateLove  = loveCalculator.CalculateLove("Michael", "Sina");

            Assert.IsTrue(calculateLove);
        }
        public void TestMethod3()
        {
            var  loveCalculator = new LoveCalculator();
            bool calculateLove  = loveCalculator.CalculateLove("Sina", "Carsten");

            Assert.IsFalse(calculateLove);
        }
Example #3
0
        public async Task <bool> CalculateLove(string first, string second)
        {
            var loveCalculator = new LoveCalculator();

            return(loveCalculator.CalculateLove(first, second));
        }