[Groonga-commit] groonga/groonga [master] Add a test for binary assign operation for UInt8 type

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Sat Mar 2 15:23:06 JST 2013


Kouhei Sutou	2013-03-02 15:23:06 +0900 (Sat, 02 Mar 2013)

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

  Log:
    Add a test for binary assign operation for UInt8 type
    
    Operation: X >>>= Y

  Added files:
    test/command/suite/select/operation/shift_rr_assign/uint8.expected
    test/command/suite/select/operation/shift_rr_assign/uint8.test

  Added: test/command/suite/select/operation/shift_rr_assign/uint8.expected (+11 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/operation/shift_rr_assign/uint8.expected    2013-03-02 15:23:06 +0900 (273456d)
@@ -0,0 +1,11 @@
+table_create Values TABLE_NO_KEY
+[[0,0.0,0.0],true]
+column_create Values output COLUMN_SCALAR UInt8
+[[0,0.0,0.0],true]
+load --table Values
+[
+{"output": 14}
+]
+[[0,0.0,0.0],1]
+select Values   --filter true   --scorer 'output >>>= 2'   --output_columns 'output'
+[[0,0.0,0.0],[[[1],[["output","UInt8"]],[3]]]]

  Added: test/command/suite/select/operation/shift_rr_assign/uint8.test (+12 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/operation/shift_rr_assign/uint8.test    2013-03-02 15:23:06 +0900 (1df178f)
@@ -0,0 +1,12 @@
+table_create Values TABLE_NO_KEY
+column_create Values output COLUMN_SCALAR UInt8
+
+load --table Values
+[
+{"output": 14}
+]
+
+select Values \
+  --filter true \
+  --scorer 'output >>>= 2' \
+  --output_columns 'output'
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る