public async Task<ShortDO> TestShort(ShortDO param) { return param; }
public void TestShort() { ShortDO d = new ShortDO(); Task<ShortDO> t; d.Value = short.MinValue; t = service.TestShort(d); Assert.IsTrue(t.Wait(1000)); Assert.AreEqual(d.Value, t.Result.Value); d.Value = short.MaxValue; t = service.TestShort(d); Assert.IsTrue(t.Wait(1000)); Assert.AreEqual(d.Value, t.Result.Value); }
public async Task <ShortDO> TestShort(ShortDO param) { return(param); }