public void Div1() { DivReply response = client.Div(new DivArgs.Builder { Dividend = 10, Divisor = 3 }.Build()); Assert.AreEqual(3, response.Quotient); Assert.AreEqual(1, response.Remainder); }
public static void DivExample(Math.IMathClient client) { DivReply result = client.Div(new DivArgs.Builder { Dividend = 10, Divisor = 3 }.Build()); Console.WriteLine("Div Result: " + result); }