public void Test_autoSelect_2() { // page 32 例子 Assert.AreEqual( CompactionScheme.Integer, Compact.AutoSelectCompactMethod("1203")); }
public void Test_autoSelect_1() { // page 31 例子 Assert.AreEqual( CompactionScheme.Integer, Compact.AutoSelectCompactMethod("123456789012")); }
public void Test_autoSelect_4() { Assert.AreEqual( CompactionScheme.Utf8String, Compact.AutoSelectCompactMethod("BA")); // 拓抽标签中写的OMF元素值为BA }
public void Test_autoSelect_3() { Assert.AreEqual( CompactionScheme.Utf8String, Compact.AutoSelectCompactMethod("a bcde")); // 注意:6 bit 压缩方式不允许小写字母 }
public void Test_autoSelect_5() { Assert.AreEqual( CompactionScheme.SixBitCode, Compact.AutoSelectCompactMethod("QA268.L55")); }