static void Main(string[] args) { MyMath inst = new MyMath(); Console.WriteLine("Result: {0}", inst.Multi(5, 6)); Console.WriteLine(); Console.WriteLine("Hit 'Enter' lo leave..."); Console.ReadLine(); }
public void MultiTest() { MyMath target = new MyMath(); // TODO: Initialize to an appropriate value int x = 2; // TODO: Initialize to an appropriate value int y = 3; // TODO: Initialize to an appropriate value double expected = 6; // TODO: Initialize to an appropriate value double actual; actual = target.Multi(x, y); Assert.AreEqual(expected, actual); Assert.Inconclusive(string.Format("Verify the correctness of MultiTest(){0} method.", arg0: "ARG0")); }