Exemplo n.º 1
0
        public void PlayWhenRecording_ShouldKeepRecording()
        {
            // Arrange
            var sut = new Vcr();
            sut.Record();

            // Act
            sut.Play();
        }
Exemplo n.º 2
0
        public void PlayWhenRecording_ShouldKeepRecording()
        {
            // Arrange
            var sut = new Vcr();

            sut.Record();

            // Act
            sut.Play();
        }
Exemplo n.º 3
0
        public void RecordWhenPlaying_ShouldKeepPlaying()
        {
            // Arrange
            var sut = new Vcr();
            sut.Play();

            // Act
            sut.Record();

            // Assert
            Assert.AreEqual(sut.PlayingState, sut.State);
        }
Exemplo n.º 4
0
        public void PlayWhenStopped_ShouldPlay()
        {
            // Arrange
            var sut = new Vcr();
            sut.Stop();

            // Act
            sut.Play();

            // Assert
            Assert.AreEqual(sut.PlayingState, sut.State);
        }
Exemplo n.º 5
0
        public void PlayWhenStopped_ShouldPlay()
        {
            // Arrange
            var sut = new Vcr();

            sut.Stop();

            // Act
            sut.Play();

            // Assert
            Assert.AreEqual(sut.PlayingState, sut.State);
        }
Exemplo n.º 6
0
        public void RecordWhenPlaying_ShouldKeepPlaying()
        {
            // Arrange
            var sut = new Vcr();

            sut.Play();

            // Act
            sut.Record();

            // Assert
            Assert.AreEqual(sut.PlayingState, sut.State);
        }