public virtual void testSequenceOfString() { IEncoder encoder = newEncoder(); Assert.IsNotNull(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.IsNotNull(val); checkArray(val.Value, coderTestUtils.createStringArray().Value); }