fontconfig-pure-0.5.1.0: Queries your system (Linux/BSD/etc) font database.
Safe HaskellNone
LanguageHaskell2010

Graphics.Text.Font.Choose.Internal.Test

Description

Internal C routines which need to be QuickCheck tested.

Synopsis

Documentation

type RoundTrip = CString -> Int -> Ptr Int -> CString Source #

A C test function which transcodes data into & out of FontConfig datastructures.

roundtrip :: MessagePack a => RoundTrip -> a -> Maybe a Source #

Test a roundtrip function, the output should be equal to the input (wrapped in a Maybe type).

testStrSet :: RoundTrip Source #

C test function for StrSet type.

testCharSet :: RoundTrip Source #

C test function for CharSet type.

testLangSet :: RoundTrip Source #

C test function for LangSet type.

testRange :: RoundTrip Source #

C test function for Range type.

testMatrix :: RoundTrip Source #

C test function for Matrix type.

testValue :: RoundTrip Source #

C test function for Value type.

testPattern :: RoundTrip Source #

C test function for Pattern type.

testFontSet :: RoundTrip Source #

C test function for FontSet type.