예제 #1
0
 public void TestMultiply()
 {
     using (CalculatorClient client = new CalculatorClient())
     {
         Assert.AreEqual(6, client.Multiply(2, 3));
     }
 }
 public int CalcAdd(int term1, int term2)
 {
     using (CalculatorClient.CalculatorClient client =
                new CalculatorClient.CalculatorClient())
     {
         return(client.Add(term1, term2));
     }
 }
예제 #3
0
 public int CalcAdd(int term1, int term2)
 {
     using (CalculatorClient.CalculatorClient client =
         new CalculatorClient.CalculatorClient())
     {
         return client.Add(term1, term2);
     }
 }