mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-05 11:56:00 -04:00
Mask some unicode tests on MSVC
This commit is contained in:
parent
5acf8c7779
commit
a72d259abf
@ -89,9 +89,11 @@ BEGIN_TEST(int, char*[])
|
|||||||
{
|
{
|
||||||
// Glyphs provided
|
// Glyphs provided
|
||||||
EXPECT_TRUE(font.IsGlyphProvided(u'A'));
|
EXPECT_TRUE(font.IsGlyphProvided(u'A'));
|
||||||
|
#ifndef _MSC_VER // MSVC has problems with unicode literals
|
||||||
EXPECT_TRUE(font.IsGlyphProvided(u'¼'));
|
EXPECT_TRUE(font.IsGlyphProvided(u'¼'));
|
||||||
EXPECT_TRUE(!font.IsGlyphProvided(u'л'));
|
EXPECT_TRUE(!font.IsGlyphProvided(u'л'));
|
||||||
EXPECT_TRUE(!font.IsGlyphProvided(u'Ы'));
|
EXPECT_TRUE(!font.IsGlyphProvided(u'Ы'));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user