Skip to content

Commit 43dba56

Browse files
committed
test printing
1 parent 35f3430 commit 43dba56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ using FreeType
55

66
face = FreeTypeAbstraction.findfont("hack"; additional_fonts=@__DIR__)
77

8+
@test repr(face) == "FTFont (family = Hack, style = Regular)"
9+
810
bb = boundingbox("asdasd", face, 64)
911
@test round.(Int, minimum(bb)) == Vec(4, -1)
1012
@test round.(Int, widths(bb)) == Vec2(221, 50)

0 commit comments

Comments
 (0)