public void TestForTvChannalUp() { var tv = new TV(); var remote = new Remote(tv); var actual = remote.ChannalUp(); var expected = 2; Assert.AreEqual(expected, actual); }
public void TestForRadioChannalUp() { var radio = new Radio(); var remote = new Remote(radio); var actual = remote.ChannalUp(); var expected = 100.6; Assert.AreEqual(expected, actual); }