Skip to content

Commit

Permalink
Use Public API
Browse files Browse the repository at this point in the history
  • Loading branch information
yanone committed Nov 7, 2024
1 parent bdea8b0 commit d256551
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_glyphsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
GlyphSet,
analyze_font,
find_character,
languages_per_glyphset,
)
import plistlib

Expand All @@ -23,8 +24,8 @@
def test_definitions():
assert len(unicodes_per_glyphset("GF_Latin_Core")) == 319

assert len(GlyphSet.load("GF_Arabic_Plus").get_language_codes()) == 8
assert len(GlyphSet.load("GF_Latin_African").get_language_codes()) == 617
assert len(languages_per_glyphset("GF_Arabic_Plus")) >= 8
assert len(languages_per_glyphset("GF_Latin_African")) >= 617

# accidental double definitions
for code in defined_glyphsets():
Expand Down

0 comments on commit d256551

Please sign in to comment.