示例#1
0
        public void Write_ValidArguments_BytesAreWritten()
        {
            // Arrange
            var bytes       = new byte[4];
            var backpointer = new Backpointer(bytes);

            // Act
            _flvWriter.Write(backpointer);

            // Assert
            Assert.Equal(4, _memoryStream.Length);
        }
示例#2
0
        public void Write_ValidArguments_BytesAreWritten()
        {
            // Arrange
            var bytes = new byte[4];
            var backpointer = new Backpointer(bytes);

            // Act
            _flvWriter.Write(backpointer);

            // Assert
            Assert.Equal(4, _memoryStream.Length);
        }