port test pinyin/phrase/chewing
authorPeng Wu <alexepico@gmail.com>
Fri, 9 Dec 2011 07:17:01 +0000 (15:17 +0800)
committerPeng Wu <alexepico@gmail.com>
Fri, 9 Dec 2011 07:17:01 +0000 (15:17 +0800)
tests/test_chewing.cpp
tests/test_phrase.cpp
tests/test_pinyin.cpp

index 2a2674e..5f1b000 100644 (file)
@@ -20,8 +20,9 @@
  */
 
 
-#include <stdlib.h>
 #include "pinyin.h"
+#include <stdlib.h>
+#include <string.h>
 
 int main(int argc, char * argv[]){
     pinyin_context_t * context =
index 01cd4cc..ef32d09 100644 (file)
@@ -20,8 +20,9 @@
  */
 
 
-#include <stdlib.h>
 #include "pinyin.h"
+#include <stdlib.h>
+#include <string.h>
 
 int main(int argc, char * argv[]){
     pinyin_context_t * context =
index 3162cb3..f965bdf 100644 (file)
@@ -20,8 +20,9 @@
  */
 
 
-#include <stdlib.h>
 #include "pinyin.h"
+#include <stdlib.h>
+#include <string.h>
 
 int main(int argc, char * argv[]){
     pinyin_context_t * context =