public void Post() { // Arrange TemperatureController controller = new TemperatureController(); // Act var results = controller.GetTemperature(10, (int)TemperatureType.DegreeCelcius); // Assert Assert.AreEqual(-12.2232, results.Temperature); }
public void Post() { // Arrange TemperatureController controller = new TemperatureController(); // Act var results = controller.GetTemperature(10, (int)TemperatureType.DegreeCelcius); // Assert Assert.AreEqual(-12.2232, results.Temperature); }