-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
libhanjp has several basic test suites(construct/dispose, simple ASCII string exam).
However, our automata object must be hardly tested before the official release, (and I guess there are still many troubles that are must be fixed).
I'm supposing some test plan ideas, and I am going to handle this task on the 'test' branch in this repo.
-
AutomataDefeault
- Exception value (or boundary value) handling tests will be included
- Fifty note conversion test using TEST_F
- Some practical string conversion tests ( including batchim) using TEST_P
- ic_replace mixed test with above
-
KeyboardDefault
Mapping Test
-
InputContext
- Some practical string conversion tests (such as lyrics) using TEST_P
Several cases you MUST aware:
- ㅇ + ㅗㅗ -> wo
- ㅇ + ㅘ -> wa
- Yet-ieung(ㆁ) selects 'w' row
- am_push returns -1 for every non-jamos and it dumps the character to dest.
- 'ㅇ' + 'ㅑ, ㅠ, ㅛ' -> 'y' row, 'other cho' + 'ㅑ, ㅠ, ㅛ' -> 'i' column.
- non-jamos flushs InputContext.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request