public virtual void testSequenceOfString() { IEncoder encoder = newEncoder(); Assert.NotNull(encoder); printEncoded("Sequence Of String", encoder, coderTestUtils.createStringArray()); checkEncoded(encoder, coderTestUtils.createStringArray(), coderTestUtils.createStringArrayBytes()); }
public virtual void testDecodeStringArray() { IDecoder decoder = newDecoder(); System.IO.MemoryStream stream = new System.IO.MemoryStream((coderTestUtils.createStringArrayBytes())); StringArray val = decoder.decode <StringArray>(stream); Assert.NotNull(val); checkArray(val.Value, coderTestUtils.createStringArray().Value); }