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)); } }
public int CalcAdd(int term1, int term2) { using (CalculatorClient.CalculatorClient client = new CalculatorClient.CalculatorClient()) { return client.Add(term1, term2); } }