Skip to content

Commit

Permalink
Added test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Sep 1, 2014
1 parent 9b4772c commit 84d1b53
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/harness/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
harness_TESTS = \
da-dk-g16-dictionary_harness.txt \
da-dk-g18-dictionary_harness.txt \
da-dk-g18-dictionary_harness.txt \
da-dk-g26-dictionary_harness.txt \
da-dk-g28-dictionary_harness.txt \
en-gb-g1_harness.txt \
en-GB-g2_harness.txt \
en-gb-g1_harness.txt \
en-ueb-g2-dictionary_harness.txt \
en-us-g2-dictionary_harness.txt \
ethio-g1_harness.txt \
hu-hu-comp8_harness.txt \
hu-hu-g1_harness.txt \
hu-hu-g1-hyph_harness.txt \
hu-hu-g1_harness.txt \
iu-ca-g1_harness.txt \
ko-g2_harness.txt \
letterDefTest_harness.txt \
nocross_harness.txt \
ta-ta-g1_harness.txt
Expand Down Expand Up @@ -47,5 +48,5 @@ endif
check:
@true

.PHONY: runall runAll
.PHONY: runall runAll $(harness_TESTS)

29 changes: 29 additions & 0 deletions tests/harness/ko-g2_harness.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"tables": [
"unicode.dis",
"ko-g2.ctb"
],
"tests": [
{
"data": [
{
"comment": [
"Numbers followed by Korean words."
],
"input": "2000년",
"output": "⠼⠃⠚⠚⠚ ⠉⠡"
},
{
"comment": [
"Korean mixed with English contractions"
],
"input": "unity",
"output": "⠥⠝⠰⠽"
}
],
"flags": {
"outputUniBrl": true
}
}
]
}

0 comments on commit 84d1b53

Please sign in to comment.