Skip to content

Commit 5bb3e7c

Browse files
feat: Font tests ( Fixes #16 )
1 parent 931f26c commit 5bb3e7c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Font.tests.ps1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
describe Font {
2+
it 'Gets fonts' {
3+
Get-Font
4+
}
5+
6+
it 'Can import a font' {
7+
$importedFont = Get-Font | Get-Random | Import-Font
8+
$importedFont.FontFamily | Should -BeLike '*'
9+
$importedFont.UnitsPerEm | Should -BeGreaterThan 0
10+
}
11+
}

0 commit comments

Comments
 (0)