Esempio n. 1
0
        /// <seealso cref="Encoder.encode(T,OutputStream)">
        /// </seealso>
        public virtual void  testEncode()
        {
            IEncoder encoder = newEncoder();

            Assert.NotNull(encoder);
            printEncoded("SequenceMO test", encoder, coderTestUtils.createDataSeqMO());
            checkEncoded(encoder, coderTestUtils.createDataSeqMO(), coderTestUtils.createDataSeqMOBytes());

            printEncoded("Sequence test", encoder, coderTestUtils.createDataSeq());
            checkEncoded(encoder, coderTestUtils.createDataSeq(), coderTestUtils.createDataSeqBytes());
        }