public void PosTest4() { byte[] bytes = new byte[c_SIZE_OF_ARRAY]; char[] chars = new char[bytes.Length]; char[] expected = new char[bytes.Length]; for (int i = 0; i < bytes.Length; ++i) { bytes[i] = (byte)i; } for (int i = 0; i < expected.Length; ++i) { expected[i] = (char)('\0' + i); } Decoder decoder = new DecoderConvert2Decoder(); VerificationHelper(decoder, bytes, 0, bytes.Length, chars, 0, chars.Length, true, bytes.Length, chars.Length, true, expected, "004.1"); decoder.Reset(); VerificationHelper(decoder, bytes, 0, bytes.Length, chars, 0, chars.Length, false, bytes.Length, chars.Length, true, expected, "004.2"); decoder.Reset(); }