示例#1
0
        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);
        }
示例#2
0
        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);
        }