public virtual void testTaggedNullEncode() { IEncoder encoder = newEncoder(); Assert.IsNotNull(encoder); printEncoded("TaggedNullSequence test", encoder, coderTestUtils.createTaggedNullSeq()); checkEncoded(encoder, coderTestUtils.createTaggedNullSeq(), coderTestUtils.createTaggedNullSeqBytes()); }
public virtual void testTaggedNullDecode() { IDecoder decoder = newDecoder(); System.IO.MemoryStream stream = new System.IO.MemoryStream((coderTestUtils.createTaggedNullSeqBytes())); TaggedNullSequence seq = decoder.decode <TaggedNullSequence>(stream); Assert.IsNotNull(seq); }