MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / toCssStringTest

Function toCssStringTest

packages/alphatab/test/model/Font.test.ts:84–86  ·  view source on GitHub ↗
(f: Font, expected: string)

Source from the content-addressed store, hash-verified

82 });
83
84 function toCssStringTest(f: Font, expected: string) {
85 expect(f.toCssString()).toBe(expected);
86 }
87
88 it('css-string-tests', () => {
89 toCssStringTest(Font.withFamilyList(['Arial'], 12, FontStyle.Plain), '12px Arial');

Callers 1

Font.test.tsFile · 0.85

Calls 2

toCssStringMethod · 0.80
toBeMethod · 0.45

Tested by

no test coverage detected