コード例 #1
0
        public void CodecFixedStringTest()
        {
            var encoded = _deflateCodec.Encode(new CodecInput <string> {
                Content = TestDecodedString
            });

            Assert.Equal(TestEncodedString, encoded.Content);
            var decoded = _deflateCodec.Decode(new CodecInput <string> {
                Content = encoded.Content
            });

            Assert.Equal(TestDecodedString, decoded.Content);
        }