public void ItParsesValuesProperly(string input, ThermostatSetpointType expected) { var actual = ThermostatSetpointTypeParser.Parse(input); Assert.That(actual, Is.EqualTo(expected)); }
public static ThermostatSetpointType ToThermostatSetpointType(this IParameter parameter) { return(ThermostatSetpointTypeParser.Parse(parameter.Value)); }
public void ItThrowsExceptionsWhenParsingValidInput(string input) { ThermostatSetpointTypeParser.Parse(input); }