public void DescriptionExists() { // Arrange var cmd = new DISPLAY_DATA(); // Act var desc = cmd.Description; // Assert Assert.NotNull(desc); }
public void CommandWithColorInvertFormatParameters() { // Arrange var cmd = new DISPLAY_DATA(); var expected = ":DISPlay:DATA? ON, OFF, BMP24"; // Act var actual = cmd.Command("ON", "OFF", "BMP24"); // Assert Assert.Equal(expected, actual); }
public void CommandWithColorParameter() { // Arrange var cmd = new DISPLAY_DATA(); var expected = ":DISPlay:DATA? ON"; // Act var actual = cmd.Command("ON"); // Assert Assert.Equal(expected, actual); }