public void UninitializedRun()
 {
     TextEncoder encoder = new TextEncoder();
     int errorLocation = 0;
     int encodedLength = encoder.EncodeStream(string.Empty, ref errorLocation);
     Assert.Equal(0, encodedLength);
     Assert.Equal(0, errorLocation);
     Assert.Empty(encoder.StringTable);
 }
 private TextEncoder initEncoder()
 {
     TextEncoder encoder = new TextEncoder();
     encoder.OpenTable("test.tbl");
     return encoder;
 }