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(MathGrpc.IMathServiceClient stub) { DivReply result = stub.Div(new DivArgs.Builder { Dividend = 10, Divisor = 3 }.Build()); Console.WriteLine("Div Result: " + result); }