diff options
author | Choe Hwanjin <choe.hwanjin@gmail.com> | 2016-02-21 09:31:08 +0900 |
---|---|---|
committer | Choe Hwanjin <choe.hwanjin@gmail.com> | 2016-02-21 09:31:08 +0900 |
commit | 5735a1a6e3892a42e1a15475d395493c890b2995 (patch) | |
tree | 07caf33d81909284dc11019a19cda0ea43857b92 | |
parent | 4376c03ef2ea303b77e893c158f167128ef3295f (diff) | |
download | libhangul-5735a1a6e3892a42e1a15475d395493c890b2995.tar.gz |
backspace 테스트 케이스 추가: 두벌식
-rw-r--r-- | test/test.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c index 28b4509..1c8ad57 100644 --- a/test/test.c +++ b/test/test.c @@ -77,6 +77,15 @@ START_TEST(test_hangul_ic_process_2) fail_unless(check_preedit("2", "rt", L"ㄳ")); fail_unless(check_commit("2", "rtk", L"ㄱ")); fail_unless(check_preedit("2", "rtk", L"사")); + + /* backspace */ + fail_unless(check_preedit("2", "rkT\b", L"가")); + fail_unless(check_preedit("2", "rktt\b", L"갓")); + fail_unless(check_preedit("2", "rt\bk", L"가")); + fail_unless(check_preedit("2", "akfr\b", L"말")); + fail_unless(check_preedit("2", "dnp\b", L"우")); + fail_unless(check_preedit("2", "qqnpfr\b\b\b\b\b\b", L"")); + fail_unless(check_preedit("2", "Qnpfr\b\b\b\b\b", L"")); } END_TEST |