Exemple #1
0
        public void TestForRadioChangeVolume3()
        {
            var radio    = new Radio();
            var remote   = new Remote(radio);
            var actual   = remote.ChangeVolume(-10);
            var expected = 0;

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void TestForTvChangeVolume3()
        {
            var tv       = new TV();
            var remote   = new Remote(tv);
            var actual   = remote.ChangeVolume(-10);
            var expected = 0;

            Assert.AreEqual(expected, actual);
        }