~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/utf8_test.cc

  • Committer: Vijay Samuel
  • Date: 2010-08-04 17:46:49 UTC
  • mto: (1685.1.7 build)
  • mto: This revision was merged to the branch mainline in revision 1688.
  • Revision ID: vijay@vijay-20100804174649-ed61v9usifb9zujc
Merge refactored command line for tests/resolve_stack_dump`

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)