示例#1
0
 static void Main(string[] args)
 {
     MyMathDLL.MyMathClass math = new MyMathClass();
     Console.WriteLine(math.Add(3, 4));
     Console.WriteLine(math.Divide(4, 2));
     Console.WriteLine(math.Multiply(5, 88));
     Console.WriteLine(math.Subtract(5, 6));
     Console.ReadLine();
 }
示例#2
0
 public void DivideTest()
 {
     Assert.IsTrue(m.Divide(2, 5) == 2);
 }