Tidy up test 3.

This commit is contained in:
Philip.Hazel 2014-07-25 09:36:50 +00:00
parent 1f9e6eb439
commit cd9fc139cd
4 changed files with 52 additions and 36 deletions

22
testdata/testinput3 vendored
View File

@ -62,39 +62,43 @@
/\w/I,locale=fr_FR /\w/I,locale=fr_FR
/^[\xc8-\xc9]/i,locale=fr_FR # All remaining tests are in the fr_FR locale, so set the default.
#pattern locale=fr_FR
/^[\xc8-\xc9]/i
École École
école école
/^[\xc8-\xc9]/locale=fr_FR /^[\xc8-\xc9]/
École École
*** Failers *** Failers
école école
/\W+/locale=fr_FR /\W+/
>>>\xaa<<< >>>\xaa<<<
>>>\xba<<< >>>\xba<<<
/[\W]+/locale=fr_FR /[\W]+/
>>>\xaa<<< >>>\xaa<<<
>>>\xba<<< >>>\xba<<<
/[^[:alpha:]]+/locale=fr_FR /[^[:alpha:]]+/
>>>\xaa<<< >>>\xaa<<<
>>>\xba<<< >>>\xba<<<
/\w+/locale=fr_FR /\w+/
>>>\xaa<<< >>>\xaa<<<
>>>\xba<<< >>>\xba<<<
/[\w]+/locale=fr_FR /[\w]+/
>>>\xaa<<< >>>\xaa<<<
>>>\xba<<< >>>\xba<<<
/[[:alpha:]]+/locale=fr_FR /[[:alpha:]]+/
>>>\xaa<<< >>>\xaa<<<
>>>\xba<<< >>>\xba<<<
/[[:alpha:]][[:lower:]][[:upper:]]/IB,locale=fr_FR /[[:alpha:]][[:lower:]][[:upper:]]/IB
# End of testinput3 # End of testinput3

22
testdata/testoutput3 vendored
View File

@ -105,13 +105,17 @@ Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P
No last code unit No last code unit
Subject length lower bound = 1 Subject length lower bound = 1
/^[\xc8-\xc9]/i,locale=fr_FR # All remaining tests are in the fr_FR locale, so set the default.
#pattern locale=fr_FR
/^[\xc8-\xc9]/i
École École
0: É 0: É
école école
0: é 0: é
/^[\xc8-\xc9]/locale=fr_FR /^[\xc8-\xc9]/
École École
0: É 0: É
*** Failers *** Failers
@ -119,43 +123,43 @@ No match
école école
No match No match
/\W+/locale=fr_FR /\W+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/[\W]+/locale=fr_FR /[\W]+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/[^[:alpha:]]+/locale=fr_FR /[^[:alpha:]]+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/\w+/locale=fr_FR /\w+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[\w]+/locale=fr_FR /[\w]+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[[:alpha:]]+/locale=fr_FR /[[:alpha:]]+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[[:alpha:]][[:lower:]][[:upper:]]/IB,locale=fr_FR /[[:alpha:]][[:lower:]][[:upper:]]/IB
------------------------------------------------------------------ ------------------------------------------------------------------
Bra Bra
[A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff] [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]

22
testdata/testoutput3A vendored
View File

@ -105,13 +105,17 @@ Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P
No last code unit No last code unit
Subject length lower bound = 1 Subject length lower bound = 1
/^[\xc8-\xc9]/i,locale=fr_FR # All remaining tests are in the fr_FR locale, so set the default.
#pattern locale=fr_FR
/^[\xc8-\xc9]/i
École École
0: É 0: É
école école
0: é 0: é
/^[\xc8-\xc9]/locale=fr_FR /^[\xc8-\xc9]/
École École
0: É 0: É
*** Failers *** Failers
@ -119,43 +123,43 @@ No match
école école
No match No match
/\W+/locale=fr_FR /\W+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/[\W]+/locale=fr_FR /[\W]+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/[^[:alpha:]]+/locale=fr_FR /[^[:alpha:]]+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/\w+/locale=fr_FR /\w+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[\w]+/locale=fr_FR /[\w]+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[[:alpha:]]+/locale=fr_FR /[[:alpha:]]+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[[:alpha:]][[:lower:]][[:upper:]]/IB,locale=fr_FR /[[:alpha:]][[:lower:]][[:upper:]]/IB
------------------------------------------------------------------ ------------------------------------------------------------------
Bra Bra
[A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff] [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]

22
testdata/testoutput3B vendored
View File

@ -105,13 +105,17 @@ Starting code units: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P
No last code unit No last code unit
Subject length lower bound = 1 Subject length lower bound = 1
/^[\xc8-\xc9]/i,locale=fr_FR # All remaining tests are in the fr_FR locale, so set the default.
#pattern locale=fr_FR
/^[\xc8-\xc9]/i
École École
0: É 0: É
école école
0: é 0: é
/^[\xc8-\xc9]/locale=fr_FR /^[\xc8-\xc9]/
École École
0: É 0: É
*** Failers *** Failers
@ -119,43 +123,43 @@ No match
école école
No match No match
/\W+/locale=fr_FR /\W+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/[\W]+/locale=fr_FR /[\W]+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/[^[:alpha:]]+/locale=fr_FR /[^[:alpha:]]+/
>>>\xaa<<< >>>\xaa<<<
0: >>> 0: >>>
>>>\xba<<< >>>\xba<<<
0: >>> 0: >>>
/\w+/locale=fr_FR /\w+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[\w]+/locale=fr_FR /[\w]+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[[:alpha:]]+/locale=fr_FR /[[:alpha:]]+/
>>>\xaa<<< >>>\xaa<<<
0: ª 0: ª
>>>\xba<<< >>>\xba<<<
0: º 0: º
/[[:alpha:]][[:lower:]][[:upper:]]/IB,locale=fr_FR /[[:alpha:]][[:lower:]][[:upper:]]/IB
------------------------------------------------------------------ ------------------------------------------------------------------
Bra Bra
[A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff] [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]