From 3fa5d705fd49f29dd43397ebbcb93c22b545bf50 Mon Sep 17 00:00:00 2001 From: wiemann Date: Mon, 27 Sep 2004 18:30:29 +0000 Subject: added tests for non-ASCII characters git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2660 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/test/functional/input/data/latex.txt | 16 ------------- .../test/functional/input/data/nonalphanumeric.txt | 13 +++++++++++ docutils/test/functional/input/data/unicode.txt | 27 ++++++++++++++++++++++ 3 files changed, 40 insertions(+), 16 deletions(-) delete mode 100644 docutils/test/functional/input/data/latex.txt create mode 100644 docutils/test/functional/input/data/nonalphanumeric.txt create mode 100644 docutils/test/functional/input/data/unicode.txt (limited to 'docutils/test/functional/input/data') diff --git a/docutils/test/functional/input/data/latex.txt b/docutils/test/functional/input/data/latex.txt deleted file mode 100644 index be47a51c9..000000000 --- a/docutils/test/functional/input/data/latex.txt +++ /dev/null @@ -1,16 +0,0 @@ -Tests for the LaTeX writer -========================== - -Monospaced non-alphanumeric characters --------------------------------------- - -These are all ASCII characters except a-zA-Z0-9 and space: - -``!!!"""###$$$%%%&&&'''((()))***+++,,,---...///:::`` - -``;;;<<<===>>>???@@@[[[\\\]]]^^^___```{{{|||}}}~~~`` - -``xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`` - -The two lines of non-alphanumeric characters should both have the same -width as the third line. diff --git a/docutils/test/functional/input/data/nonalphanumeric.txt b/docutils/test/functional/input/data/nonalphanumeric.txt new file mode 100644 index 000000000..4c4ee7343 --- /dev/null +++ b/docutils/test/functional/input/data/nonalphanumeric.txt @@ -0,0 +1,13 @@ +Monospaced non-alphanumeric characters +-------------------------------------- + +These are all ASCII characters except a-zA-Z0-9 and space: + +``!!!"""###$$$%%%&&&'''((()))***+++,,,---...///:::`` + +``;;;<<<===>>>???@@@[[[\\\]]]^^^___```{{{|||}}}~~~`` + +``xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`` + +The two lines of non-alphanumeric characters should both have the same +width as the third line. diff --git a/docutils/test/functional/input/data/unicode.txt b/docutils/test/functional/input/data/unicode.txt new file mode 100644 index 000000000..4bdd57653 --- /dev/null +++ b/docutils/test/functional/input/data/unicode.txt @@ -0,0 +1,27 @@ +Various non-ASCII characters +---------------------------- + += =================================== +© copyright sign +® registered sign +« left pointing guillemet +» right pointing guillemet +– en-dash +— em-dash +‘ single turned comma quotation mark +’ single comma quotation mark +‚ low single comma quotation mark +“ double turned comma quotation mark +” double comma quotation mark +„ low double comma quotation mark +† dagger +‡ double dagger +… ellipsis +™ trade mark sign +⇔ left-right double arrow += =================================== + +The following line should not be wrapped, because it uses +non-breakable spaces: + +X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X -- cgit v1.2.1