Last active
December 11, 2015 00:29
-
-
Save Lunanne/4516842 to your computer and use it in GitHub Desktop.
Unit test tryout plString
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TEST(PlStringTest,ToUtf16) | |
| { | |
| uint16_t text[] = {0xFEFF0061,0xFEFF00E8,0xFEFF03A3,0xFEFF2F49}; | |
| plStringBuffer<uint16_t> expected = plStringBuffer<uint16_t>(text,4); | |
| plStringBuffer<uint16_t> output = plString("aèΣ⽉").ToUtf16(); | |
| //EXPECT_EQ(expected,output); Compare expected and output in some way | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment