Lines Matching refs:ToInternalValue
206 // ToInternalValue() should return the original byte string.
207 TEST(OrdinalTest, ToInternalValue) {
208 EXPECT_EQ("2", TestOrdinal("2").ToInternalValue());
209 EXPECT_EQ("12345", LongOrdinal("12345").ToInternalValue());
210 EXPECT_EQ("\1\2\3\4\5", LargeOrdinal("\1\2\3\4\5").ToInternalValue());
268 return between1.ToInternalValue();
322 EXPECT_EQ("02", TestOrdinal("1").CreateBefore().ToInternalValue());
323 EXPECT_EQ("03", TestOrdinal("11").CreateBefore().ToInternalValue());
324 EXPECT_EQ("03", TestOrdinal("12").CreateBefore().ToInternalValue());
325 EXPECT_EQ("1", TestOrdinal("13").CreateBefore().ToInternalValue());
331 EXPECT_EQ("31", TestOrdinal("3").CreateAfter().ToInternalValue());
332 EXPECT_EQ("322", TestOrdinal("32").CreateAfter().ToInternalValue());
333 EXPECT_EQ("33322", TestOrdinal("3332").CreateAfter().ToInternalValue());
334 EXPECT_EQ("3", TestOrdinal("22").CreateAfter().ToInternalValue());
335 EXPECT_EQ("3", TestOrdinal("23").CreateAfter().ToInternalValue());