factor/extra/pdf/wrap/wrap-tests.factor

14 lines
350 B
Factor
Raw Normal View History

USING: fonts pdf.wrap tools.test ;
2013-03-27 22:05:20 -04:00
{ "hello, " "extra spaces" } [
"hello, extra spaces" word-split1
] unit-test
{ { "hello, " "world " "how " "are " "you?" } } [
"hello, world how are you?" word-split
] unit-test
{ { "hello, world " "how are you?" } } [
"hello, world how are you?" monospace-font 100 visual-wrap
] unit-test