public virtual void testNullEncode() { IEncoder encoder = newEncoder(); Assert.IsNotNull(encoder); printEncoded("NullSequence test", encoder, coderTestUtils.createNullSeq()); checkEncoded(encoder, coderTestUtils.createNullSeq(), coderTestUtils.createNullSeqBytes()); }
public virtual void testNullDecode() { IDecoder decoder = newDecoder(); System.IO.MemoryStream stream = new System.IO.MemoryStream((coderTestUtils.createNullSeqBytes())); NullSequence seq = decoder.decode <NullSequence>(stream); Assert.IsNotNull(seq); }