summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-09 15:17:01 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-09 15:17:01 +0800
commit166e1723bd4677a8b454bb12bf22ed7f4ebac5c5 (patch)
tree69d2215dbf03ba133eeabbeec461dde7694787bf
parentfe64288f056b3bbcbb512e892a4035a499ee5181 (diff)
downloadlibpinyin-166e1723bd4677a8b454bb12bf22ed7f4ebac5c5.tar.gz
port test pinyin/phrase/chewing
-rw-r--r--tests/test_chewing.cpp3
-rw-r--r--tests/test_phrase.cpp3
-rw-r--r--tests/test_pinyin.cpp3
3 files changed, 6 insertions, 3 deletions
diff --git a/tests/test_chewing.cpp b/tests/test_chewing.cpp
index 2a2674e..5f1b000 100644
--- a/tests/test_chewing.cpp
+++ b/tests/test_chewing.cpp
@@ -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 =
diff --git a/tests/test_phrase.cpp b/tests/test_phrase.cpp
index 01cd4cc..ef32d09 100644
--- a/tests/test_phrase.cpp
+++ b/tests/test_phrase.cpp
@@ -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 =
diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp
index 3162cb3..f965bdf 100644
--- a/tests/test_pinyin.cpp
+++ b/tests/test_pinyin.cpp
@@ -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 =