-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Additional unicode tests (moved)
- Loading branch information
1 parent
ab6ec64
commit 45ebb23
Showing
14 changed files
with
427 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!-- =========== DE ============= --> | ||
|
||
GIVEN term 'äöüß Term begins with Umlauts' | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN term 'Term ends with Umlauts äöüß' | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN term 'Term contains äöüß Umlauts' | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN term 'Der Tod und das Mädchen' | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN term 'Äquator' | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN a compound term 'Äquatorregion' AND GIVEN 'Äquator' is a glossary term | ||
THEN the linker MUST NOT link the compound with a glossary definition. | ||
|
||
GIVEN a compound term 'Faßöl' | ||
WITH 'Faß' being a glossary term | ||
AND 'Faß' ending with a non-ASCII character | ||
AND 'öl' beginning with a non-ASCII character | ||
THEN 'Faßöl' MUST NOT be split into two words | ||
AND 'Faßöl' MUST NOT be linked to the glossary definition of 'Faß'. | ||
|
||
<!-- =========== ZH ============= --> | ||
|
||
GIVEN a term '中国' with non-ASCII chinese symbols | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN a term 'zhōngguó' with non-ASCII symbols | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN a term '中国China' beginning with non-ASCII chinese symbols | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN a term 'China中国' ending with non-ASCII chinese symbols | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN a term '中China国' beginning and ending with non-ASCII chinese symbols | ||
THEN the linker MUST link the term with its glossary definition. | ||
|
||
GIVEN a term 'Chi中国na' containing non-ASCII chinese symbols | ||
THEN the linker MUST link the term with its glossary definition. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Unicode Tests | ||
|
||
<!-- =========== DE ============= --> | ||
|
||
## äöüß Term begins with Umlauts | ||
|
||
Testing German Umlauts. | ||
|
||
## Term ends with Umlauts äöüß | ||
|
||
Testing German Umlauts. | ||
|
||
## Term contains äöüß Umlauts | ||
|
||
Testing German Umlauts. | ||
|
||
## Der Tod und das Mädchen | ||
|
||
Classical composition by Franz Schubert (The Death and the Maiden). | ||
|
||
## Äquator | ||
|
||
GIVEN a compound term 'Äquatorregion' AND GIVEN 'Äquator' is a glossary term | ||
THEN the linker MUST NOT link the compound with a glossary definition. | ||
|
||
## Faß | ||
|
||
GIVEN a compound term 'Faßöl' | ||
WITH 'Faß' being a glossary term | ||
AND 'Faß' ending with a non-ASCII character | ||
AND 'öl' beginning with a non-ASCII character | ||
THEN 'Faßöl' MUST NOT be split into two words | ||
AND 'Faßöl' MUST NOT be linked to the glossary definition of 'Faß'. | ||
|
||
|
||
<!-- =========== ZH ============= --> | ||
|
||
## 中国 | ||
China | ||
|
||
## zhōngguó | ||
China (spelling) | ||
|
||
## 中国China | ||
Word begins with symbols | ||
|
||
## China中国 | ||
Word ends with symbols | ||
|
||
## 中China国 | ||
Word begins and ends with symbols | ||
|
||
## Chi中国na | ||
Word contains symbols |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.