Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
madig committed Jan 14, 2021
1 parent 51f1e08 commit 56207df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/glyphdata_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ def cat(n):
self.assertEqual(cat("_aaa"), (None, None))
self.assertEqual(cat("dal_alef-ar"), ("Letter", "Ligature"))
self.assertEqual(cat("dal_lam-ar.dlig"), ("Letter", "Ligature"))
self.assertEqual(cat("a.sc"), ("Letter", "Smallcaps"))
self.assertEqual(cat("a.sc.ss01"), ("Letter", "Smallcaps"))
self.assertEqual(cat("a.smcp"), ("Letter", "Smallcaps"))
self.assertEqual(cat("a.smcp.ss01"), ("Letter", "Smallcaps"))
self.assertEqual(cat("a.c2sc"), ("Letter", "Smallcaps"))
self.assertEqual(cat("a.c2sc.ss01"), ("Letter", "Smallcaps"))

def test_bug232(self):
# https://github.com/googlefonts/glyphsLib/issues/232
Expand Down

0 comments on commit 56207df

Please sign in to comment.