[Groonga-commit] groonga/groonga at cf3a60f [master] test: add a test for == against Int32

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 5 00:12:00 JST 2016


Kouhei Sutou	2016-02-05 00:12:00 +0900 (Fri, 05 Feb 2016)

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

  Message:
    test: add a test for == against Int32

  Added files:
    test/command/suite/select/filter/compare_operation/equal/int32.expected
    test/command/suite/select/filter/compare_operation/equal/int32.test

  Added: test/command/suite/select/filter/compare_operation/equal/int32.expected (+13 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/compare_operation/equal/int32.expected    2016-02-05 00:12:00 +0900 (66c7b19)
@@ -0,0 +1,13 @@
+table_create Values TABLE_NO_KEY
+[[0,0.0,0.0],true]
+column_create Values number COLUMN_SCALAR Int32
+[[0,0.0,0.0],true]
+load --table Values
+[
+{"number": 1},
+{"number": 3},
+{"number": -1}
+]
+[[0,0.0,0.0],3]
+select Values   --filter 'number == -1'   --output_columns 'number'
+[[0,0.0,0.0],[[[1],[["number","Int32"]],[-1]]]]

  Added: test/command/suite/select/filter/compare_operation/equal/int32.test (+13 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/compare_operation/equal/int32.test    2016-02-05 00:12:00 +0900 (7d25df0)
@@ -0,0 +1,13 @@
+table_create Values TABLE_NO_KEY
+column_create Values number COLUMN_SCALAR Int32
+
+load --table Values
+[
+{"number": 1},
+{"number": 3},
+{"number": -1}
+]
+
+select Values \
+  --filter 'number == -1' \
+  --output_columns 'number'
-------------- next part --------------
HTML����������������������������...
Download 



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