~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/utf8_test.cc

  • Committer: Brian Aker
  • Date: 2010-08-03 19:24:14 UTC
  • mto: This revision was merged to the branch mainline in revision 1683.
  • Revision ID: brian@gaz-20100803192414-jk20j0u6cnze3ja6
Do comparison via non-case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
TEST(utf8, is_single)
31
31
{
32
 
  ASSERT_TRUE(utf8::is_single('a'));
 
32
  EXPECT_EQ(true, utf8::is_single('a'));
33
33
  const char *multi_byte= "ç";
34
 
  ASSERT_FALSE(utf8::is_single(*multi_byte));
35
 
  ASSERT_FALSE(utf8::is_single(*(multi_byte + 1)));
 
34
  EXPECT_EQ(false, utf8::is_single(*multi_byte));
 
35
  EXPECT_EQ(false, utf8::is_single(*(multi_byte + 1)));
36
36
}
37
37
 
38
38
TEST(utf8, codepoint_length)