Skip to content

Commit

Permalink
revise the test case of chewing_userphrase_get_freq()
Browse files Browse the repository at this point in the history
  • Loading branch information
mangokingTW committed Apr 17, 2016
1 parent bf9f656 commit abaf42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-userphrase.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ void test_userphrase_enumerate_frequency()
ok(orig_freq_b == orig_freq, "chewing_userphrase_get_freq() orig_freq `%d' shall be `%d'", orig_freq_b, orig_freq);
ok(max_freq_b == max_freq, "chewing_userphrase_get_freq() max_freq `%d' shall be `%d'", max_freq_b, max_freq);
ok(user_freq_b > user_freq, "chewing_userphrase_get_freq() shall set user_freq `%d' > `%d'", user_freq_b, user_freq);
ok(time_b > time, "chewing_userphrase_get_freq() shall set time `%d' > `%d'", time_b, time);
ok(time_b >= time, "chewing_userphrase_get_freq() shall set time `%d' >= `%d'", time_b, time);
printf("ret=%d. orig=%d. max=%d. user=%d. time=%d.\n",ret,orig_freq,max_freq,user_freq,time);

chewing_delete(ctx);
Expand Down

0 comments on commit abaf42e

Please sign in to comment.