[kandinsky] Add unit tests for UTF-8 decoding and CodepointToIndex

This commit is contained in:
Romain Goyet
2018-10-31 10:38:25 +01:00
committed by Émilie Feral
parent bf0d947939
commit c23e5a47bc
3 changed files with 42 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ src += $(addprefix kandinsky/src/,\
ion_context.cpp \
point.cpp \
rect.cpp \
unicode/utf8decoder.cpp\
)
src += $(addprefix kandinsky/fonts/, \
@@ -22,7 +23,9 @@ src += $(addprefix kandinsky/fonts/, \
tests += $(addprefix kandinsky/test/,\
color.cpp\
font.cpp\
rect.cpp\
utf8decoder.cpp\
)
RASTERIZER_CFLAGS := -std=c99 `pkg-config freetype2 --cflags`