[Groonga-commit] groonga/groonga at 72e2514 [master] test: add a test for uint64

Back to archive index

Susumu Yata null+****@clear*****
Mon Jul 3 19:29:38 JST 2017


Susumu Yata	2017-07-03 19:29:38 +0900 (Mon, 03 Jul 2017)

  New Revision: 72e25146ce033e34b408dd56fe641c9387b545de
  https://github.com/groonga/groonga/commit/72e25146ce033e34b408dd56fe641c9387b545de

  Message:
    test: add a test for uint64

  Added files:
    test/command/suite/select/function/math_abs/uint64/max.expected
    test/command/suite/select/function/math_abs/uint64/max.test

  Added: test/command/suite/select/function/math_abs/uint64/max.expected (+13 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/function/math_abs/uint64/max.expected    2017-07-03 19:29:38 +0900 (4e6b6b1)
@@ -0,0 +1,13 @@
+plugin_register functions/math
+[[0,0.0,0.0],true]
+table_create Values TABLE_NO_KEY
+[[0,0.0,0.0],true]
+column_create Values value COLUMN_SCALAR UInt64
+[[0,0.0,0.0],true]
+load --table Values
+[
+{"value":18446744073709551615}
+]
+[[0,0.0,0.0],1]
+select Values   --filter true   --output_columns 'math_abs(value)'
+[[0,0.0,0.0],[[[1],[["math_abs",null]],[18446744073709551615]]]]

  Added: test/command/suite/select/function/math_abs/uint64/max.test (+13 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/function/math_abs/uint64/max.test    2017-07-03 19:29:38 +0900 (0ab5340)
@@ -0,0 +1,13 @@
+plugin_register functions/math
+
+table_create Values TABLE_NO_KEY
+column_create Values value COLUMN_SCALAR UInt64
+
+load --table Values
+[
+{"value":18446744073709551615}
+]
+
+select Values \
+  --filter true \
+  --output_columns 'math_abs(value)'
-------------- next part --------------
HTML����������������������������...
Télécharger 



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