public void GetSpindleBeltLengthTest() { var con = new SpindleBeltLengthsController(); var result = con.GetSpindleBeltLength(36).GetAwaiter().GetResult() as OkNegotiatedContentResult<SpindleBeltLength>; Assert.IsNotNull(result); }
public void GetSpindleBeltLengthsTest() { var con = new SpindleBeltLengthsController(); int expected = 74; var result = con.GetSpindleBeltLengths(); Assert.IsNotNull(result); Assert.AreEqual(expected, result.Count()); }