Fuzzers of FormattedText types
This can be used to test code that makes use of FormattedText.
A arbitrary Markup type used by the formattedText fuzzer.
If this isn't the right markup type for you, use customFormattedText
.
formattedText : Fuzzer (FormattedText Markup)
Fuzzer of FormattedText types.
customFormattedText : Fuzzer String -> Fuzzer markup -> Fuzzer (FormattedText markup)
Customizable fuzzer of FormattedText types.
You can use your own text and markup fuzzers or use the standard string
fuzzer
and the markup fuzzer provided by this module.
markup : Fuzzer Markup
Fuzzer of FormattedText markups.
Because any type can be used as a markup this is just a suggestion provided for the lazy developer ;).
equals : FormattedText markup -> FormattedText markup -> Expectation
Expect to formatted texts to be equal.
Use this in tests for running assertions against your formatted text.