File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
[ ![ codecov] ( https://codecov.io/gh/JuliaGraphics/FreeTypeAbstraction.jl/branch/master/graph/badge.svg )] ( https://codecov.io/gh/JuliaGraphics/FreeTypeAbstraction.jl )
2
+
2
3
[ ![ Build Status] ( https://travis-ci.org/JuliaGraphics/FreeTypeAbstraction.jl.svg?branch=master )] ( https://travis-ci.org/JuliaGraphics/FreeTypeAbstraction.jl )
4
+
3
5
# FreeTypeAbstraction
4
6
5
7
Draw text into a Matrix.
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ a = renderstring!(
39
39
50 ,
40
40
valign = :vtop ,
41
41
)
42
+
42
43
@test all (a[1 : 10 , :] .== 0 )
43
44
@test any (a[11 : 20 , :] .!= 0 )
44
45
a = renderstring! (
@@ -50,6 +51,7 @@ a = renderstring!(
50
51
50 ,
51
52
valign = :vcenter ,
52
53
)
54
+
53
55
@test all (a[vcat (1 : 5 , 16 : end), :] .== 0 )
54
56
@test any (a[6 : 15 , :] .!= 0 )
55
57
a = renderstring! (
@@ -72,7 +74,8 @@ a = renderstring!(
72
74
50 ,
73
75
valign = :vbottom ,
74
76
)
75
- @test any (a[1 : 10 , :] .!= 0 )
77
+
78
+ @test any (a[1
76
79
@test all (a[11 : 20 , :] .== 0 )
77
80
a = renderstring! (
78
81
zeros (UInt8, 20 , 100 ),
You can’t perform that action at this time.
0 commit comments