public void ManyMultiplier() { var random = new Random(); var i = random.Next(); var j = random.Next(); var route = new DirectRoute(); var value = route.Get<int>("Many/Multiplier", i, j); Assert.AreEqual(i * j, value); }
public void TestNonRoundTrip() { var random = new Random(); var expected = random.Next(); var route = new DirectRoute(); route.Send("TestNon/Set", expected); var value = route.Get<int>("TestNon/Red"); Assert.AreEqual(expected, value); }