[Groonga-commit] groonga/groonga at b733b5b [master] normalize: add a test for WITH_CHECKS

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 17 21:54:55 JST 2014


Kouhei Sutou	2014-03-17 21:54:55 +0900 (Mon, 17 Mar 2014)

  New Revision: b733b5be3db1c7504cb34e1ba2cf6c34f330c5a9
  https://github.com/groonga/groonga/commit/b733b5be3db1c7504cb34e1ba2cf6c34f330c5a9

  Message:
    normalize: add a test for WITH_CHECKS

  Added files:
    test/command/suite/normalize/with_checks.expected
    test/command/suite/normalize/with_checks.test

  Added: test/command/suite/normalize/with_checks.expected (+36 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/normalize/with_checks.expected    2014-03-17 21:54:55 +0900 (48f42e1)
@@ -0,0 +1,36 @@
+normalize NormalizerAuto "ア㌕AZ" WITH_CHECKS
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  {
+    "normalized": "アキログラムaz",
+    "types": [
+
+    ],
+    "checks": [
+      3,
+      0,
+      0,
+      3,
+      0,
+      0,
+      -1,
+      0,
+      0,
+      -1,
+      0,
+      0,
+      -1,
+      0,
+      0,
+      -1,
+      0,
+      0,
+      3,
+      1
+    ]
+  }
+]

  Added: test/command/suite/normalize/with_checks.test (+1 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/normalize/with_checks.test    2014-03-17 21:54:55 +0900 (3a7c0bf)
@@ -0,0 +1 @@
+normalize NormalizerAuto "ア㌕AZ" WITH_CHECKS
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index