public virtual void testSequenceWithEnum() { IEncoder encoder = newEncoder(); Assert.IsNotNull(encoder); printEncoded("Sequence Enum test", encoder, coderTestUtils.createSequenceWithEnum()); checkEncoded(encoder, coderTestUtils.createSequenceWithEnum(), coderTestUtils.createSequenceWithEnumBytes()); }
public virtual void testSequenceWithEnum() { IDecoder decoder = newDecoder(); System.IO.MemoryStream stream = new System.IO.MemoryStream((coderTestUtils.createSequenceWithEnumBytes())); SequenceWithEnum seq = decoder.decode <SequenceWithEnum>(stream); Assert.IsNotNull(seq); }