예제 #1
0
        public virtual void testEncode()
        {
            IEncoder encoder = newEncoder();

            Assert.IsNotNull(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());
        }