public void CommandTests_IsEqualPowrCmdWithDifferentParamFormat_ReturnTrue() { var power1 = new AquosCommand("POWR", "0"); var power2 = AquosCommand.Power(PowerSetting.Off); Assert.True(power1.ToString() == power2.ToString()); }
public void CommandTests_IsEqualVolmCmdWithDifferentParamFormat_ReturnsTrue() { var volume1 = new AquosCommand("VOLM", "30"); var volume2 = AquosCommand.Volume(30); Assert.True(volume1.ToString() == volume2.ToString()); }
public void VolumeTest() { var volume = new AquosCommand("VOLM", "30"); var volume2 = AquosCommand.Volume(30); Assert.IsTrue(volume.ToString() == volume2.ToString()); }
public void PowerTest() { var power = AquosCommand.Power(PowerSetting.Off); var power2 = new AquosCommand("POWR", "0"); Assert.IsTrue(power.ToString() == power2.ToString()); }
public void CommandOutputIsEightCharacters() { var cmd = new AquosCommand("AAAA", "Z"); Assert.AreEqual(cmd.ToString().Length, 8); }