summaryrefslogtreecommitdiffstats
path: root/systemtest/testdata/bit
diff options
context:
space:
mode:
Diffstat (limited to 'systemtest/testdata/bit')
-rw-r--r--systemtest/testdata/bit/bit_01.ql2
-rw-r--r--systemtest/testdata/bit/bit_01.ql.java.out29
-rw-r--r--systemtest/testdata/bit/bit_01.ql.out44
-rw-r--r--systemtest/testdata/bit/bit_02.ql2
-rw-r--r--systemtest/testdata/bit/bit_02.ql.java.out29
-rw-r--r--systemtest/testdata/bit/bit_02.ql.out44
-rw-r--r--systemtest/testdata/bit/bit_03.ql2
-rw-r--r--systemtest/testdata/bit/bit_03.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_03.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_04.ql2
-rw-r--r--systemtest/testdata/bit/bit_04.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_04.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_05.ql2
-rw-r--r--systemtest/testdata/bit/bit_05.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_05.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_06.ql2
-rw-r--r--systemtest/testdata/bit/bit_06.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_06.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_07.ql2
-rw-r--r--systemtest/testdata/bit/bit_07.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_07.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_08.ql2
-rw-r--r--systemtest/testdata/bit/bit_08.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_08.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_09.ql2
-rw-r--r--systemtest/testdata/bit/bit_09.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_09.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_10.ql2
-rw-r--r--systemtest/testdata/bit/bit_10.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_10.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_11.ql2
-rw-r--r--systemtest/testdata/bit/bit_11.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_11.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_12.ql2
-rw-r--r--systemtest/testdata/bit/bit_12.ql.java.out1
-rw-r--r--systemtest/testdata/bit/bit_12.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_13.ql2
-rw-r--r--systemtest/testdata/bit/bit_13.ql.java.out2
-rw-r--r--systemtest/testdata/bit/bit_13.ql.out1
-rw-r--r--systemtest/testdata/bit/bit_14.ql2
-rw-r--r--systemtest/testdata/bit/bit_14.ql.java.out2
-rw-r--r--systemtest/testdata/bit/bit_14.ql.out1
-rw-r--r--systemtest/testdata/bit/bit_15.ql2
-rw-r--r--systemtest/testdata/bit/bit_15.ql.java.out16
-rw-r--r--systemtest/testdata/bit/bit_15.ql.out6
-rw-r--r--systemtest/testdata/bit/bit_16.ql2
-rw-r--r--systemtest/testdata/bit/bit_16.ql.java.out2
-rw-r--r--systemtest/testdata/bit/bit_16.ql.out1
48 files changed, 279 insertions, 0 deletions
diff --git a/systemtest/testdata/bit/bit_01.ql b/systemtest/testdata/bit/bit_01.ql
new file mode 100644
index 0000000..37debb3
--- /dev/null
+++ b/systemtest/testdata/bit/bit_01.ql
@@ -0,0 +1,2 @@
+
+ select bit(a, 0) from ImgCharA as a -- F, T
diff --git a/systemtest/testdata/bit/bit_01.ql.java.out b/systemtest/testdata/bit/bit_01.ql.java.out
new file mode 100644
index 0000000..f2deb7a
--- /dev/null
+++ b/systemtest/testdata/bit/bit_01.ql.java.out
@@ -0,0 +1,29 @@
+
+rasj.RasMArrayByte
+ Object Name...........:
+ Object Type...........: 1
+ Object Type Name......:
+ Type Structure........:
+ Type Schema...........: <nn>
+ Domain................: [0:10,0:10]
+ TilingDomain..........: [0:356,0:356]
+ TileSize..............: 128000 bytes
+ Base Type Schema......: <nn>
+ Base Type Length......: 1
+ Data format...........: 0
+ Data size (bytes).....: 121
+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+rasj.RasMArrayByte
+ Object Name...........:
+ Object Type...........: 1
+ Object Type Name......:
+ Type Structure........:
+ Type Schema...........: <nn>
+ Domain................: [0:10,0:10]
+ TilingDomain..........: [0:356,0:356]
+ TileSize..............: 128000 bytes
+ Base Type Schema......: <nn>
+ Base Type Length......: 1
+ Data format...........: 0
+ Data size (bytes).....: 121
+ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_01.ql.out b/systemtest/testdata/bit/bit_01.ql.out
new file mode 100644
index 0000000..53e26a4
--- /dev/null
+++ b/systemtest/testdata/bit/bit_01.ql.out
@@ -0,0 +1,44 @@
+-- Testbed line: result_type=set <marray <bool, [0:10,0:10]>>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Image 1
+GMarray
+ Type Structure........: marray <bool, [0:10,0:10]>
+ Type Schema...........: marray< bool >
+ Domain................: [0:10,0:10]
+ Base Type Schema......: bool
+ Base Type Length......: 1
+ Data format.......... : Array
+ Data size (bytes).... : 121
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+Image 2
+GMarray
+ Type Structure........: marray <bool, [0:10,0:10]>
+ Type Schema...........: marray< bool >
+ Domain................: [0:10,0:10]
+ Base Type Schema......: bool
+ Base Type Length......: 1
+ Data format.......... : Array
+ Data size (bytes).... : 121
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+ T T T T T T T T T T T
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_02.ql b/systemtest/testdata/bit/bit_02.ql
new file mode 100644
index 0000000..7bd737f
--- /dev/null
+++ b/systemtest/testdata/bit/bit_02.ql
@@ -0,0 +1,2 @@
+
+ select bit(a, 9) from ImgCharA as a -- F, F
diff --git a/systemtest/testdata/bit/bit_02.ql.java.out b/systemtest/testdata/bit/bit_02.ql.java.out
new file mode 100644
index 0000000..8315bc2
--- /dev/null
+++ b/systemtest/testdata/bit/bit_02.ql.java.out
@@ -0,0 +1,29 @@
+
+rasj.RasMArrayByte
+ Object Name...........:
+ Object Type...........: 1
+ Object Type Name......:
+ Type Structure........:
+ Type Schema...........: <nn>
+ Domain................: [0:10,0:10]
+ TilingDomain..........: [0:356,0:356]
+ TileSize..............: 128000 bytes
+ Base Type Schema......: <nn>
+ Base Type Length......: 1
+ Data format...........: 0
+ Data size (bytes).....: 121
+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+rasj.RasMArrayByte
+ Object Name...........:
+ Object Type...........: 1
+ Object Type Name......:
+ Type Structure........:
+ Type Schema...........: <nn>
+ Domain................: [0:10,0:10]
+ TilingDomain..........: [0:356,0:356]
+ TileSize..............: 128000 bytes
+ Base Type Schema......: <nn>
+ Base Type Length......: 1
+ Data format...........: 0
+ Data size (bytes).....: 121
+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_02.ql.out b/systemtest/testdata/bit/bit_02.ql.out
new file mode 100644
index 0000000..83e6fdb
--- /dev/null
+++ b/systemtest/testdata/bit/bit_02.ql.out
@@ -0,0 +1,44 @@
+-- Testbed line: result_type=set <marray <bool, [0:10,0:10]>>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Image 1
+GMarray
+ Type Structure........: marray <bool, [0:10,0:10]>
+ Type Schema...........: marray< bool >
+ Domain................: [0:10,0:10]
+ Base Type Schema......: bool
+ Base Type Length......: 1
+ Data format.......... : Array
+ Data size (bytes).... : 121
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+Image 2
+GMarray
+ Type Structure........: marray <bool, [0:10,0:10]>
+ Type Schema...........: marray< bool >
+ Domain................: [0:10,0:10]
+ Base Type Schema......: bool
+ Base Type Length......: 1
+ Data format.......... : Array
+ Data size (bytes).... : 121
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+ F F F F F F F F F F F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_03.ql b/systemtest/testdata/bit/bit_03.ql
new file mode 100644
index 0000000..f63957d
--- /dev/null
+++ b/systemtest/testdata/bit/bit_03.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 0) from ImgCharA -- T
diff --git a/systemtest/testdata/bit/bit_03.ql.java.out b/systemtest/testdata/bit/bit_03.ql.java.out
new file mode 100644
index 0000000..9d60796
--- /dev/null
+++ b/systemtest/testdata/bit/bit_03.ql.java.out
@@ -0,0 +1 @@
+11 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_03.ql.out b/systemtest/testdata/bit/bit_03.ql.out
new file mode 100644
index 0000000..89db772
--- /dev/null
+++ b/systemtest/testdata/bit/bit_03.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: T
+Element 2: T
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_04.ql b/systemtest/testdata/bit/bit_04.ql
new file mode 100644
index 0000000..703dabf
--- /dev/null
+++ b/systemtest/testdata/bit/bit_04.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 1) from ImgCharA -- T
diff --git a/systemtest/testdata/bit/bit_04.ql.java.out b/systemtest/testdata/bit/bit_04.ql.java.out
new file mode 100644
index 0000000..9d60796
--- /dev/null
+++ b/systemtest/testdata/bit/bit_04.ql.java.out
@@ -0,0 +1 @@
+11 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_04.ql.out b/systemtest/testdata/bit/bit_04.ql.out
new file mode 100644
index 0000000..89db772
--- /dev/null
+++ b/systemtest/testdata/bit/bit_04.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: T
+Element 2: T
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_05.ql b/systemtest/testdata/bit/bit_05.ql
new file mode 100644
index 0000000..90a8a47
--- /dev/null
+++ b/systemtest/testdata/bit/bit_05.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 2) from ImgCharA -- F
diff --git a/systemtest/testdata/bit/bit_05.ql.java.out b/systemtest/testdata/bit/bit_05.ql.java.out
new file mode 100644
index 0000000..857f065
--- /dev/null
+++ b/systemtest/testdata/bit/bit_05.ql.java.out
@@ -0,0 +1 @@
+00 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_05.ql.out b/systemtest/testdata/bit/bit_05.ql.out
new file mode 100644
index 0000000..7fda105
--- /dev/null
+++ b/systemtest/testdata/bit/bit_05.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: F
+Element 2: F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_06.ql b/systemtest/testdata/bit/bit_06.ql
new file mode 100644
index 0000000..d413f3b
--- /dev/null
+++ b/systemtest/testdata/bit/bit_06.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 3) from ImgCharA -- F
diff --git a/systemtest/testdata/bit/bit_06.ql.java.out b/systemtest/testdata/bit/bit_06.ql.java.out
new file mode 100644
index 0000000..857f065
--- /dev/null
+++ b/systemtest/testdata/bit/bit_06.ql.java.out
@@ -0,0 +1 @@
+00 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_06.ql.out b/systemtest/testdata/bit/bit_06.ql.out
new file mode 100644
index 0000000..7fda105
--- /dev/null
+++ b/systemtest/testdata/bit/bit_06.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: F
+Element 2: F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_07.ql b/systemtest/testdata/bit/bit_07.ql
new file mode 100644
index 0000000..657d539
--- /dev/null
+++ b/systemtest/testdata/bit/bit_07.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 4) from ImgCharA -- F
diff --git a/systemtest/testdata/bit/bit_07.ql.java.out b/systemtest/testdata/bit/bit_07.ql.java.out
new file mode 100644
index 0000000..857f065
--- /dev/null
+++ b/systemtest/testdata/bit/bit_07.ql.java.out
@@ -0,0 +1 @@
+00 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_07.ql.out b/systemtest/testdata/bit/bit_07.ql.out
new file mode 100644
index 0000000..7fda105
--- /dev/null
+++ b/systemtest/testdata/bit/bit_07.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: F
+Element 2: F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_08.ql b/systemtest/testdata/bit/bit_08.ql
new file mode 100644
index 0000000..d904288
--- /dev/null
+++ b/systemtest/testdata/bit/bit_08.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 5) from ImgCharA -- F
diff --git a/systemtest/testdata/bit/bit_08.ql.java.out b/systemtest/testdata/bit/bit_08.ql.java.out
new file mode 100644
index 0000000..857f065
--- /dev/null
+++ b/systemtest/testdata/bit/bit_08.ql.java.out
@@ -0,0 +1 @@
+00 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_08.ql.out b/systemtest/testdata/bit/bit_08.ql.out
new file mode 100644
index 0000000..7fda105
--- /dev/null
+++ b/systemtest/testdata/bit/bit_08.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: F
+Element 2: F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_09.ql b/systemtest/testdata/bit/bit_09.ql
new file mode 100644
index 0000000..9c4dff2
--- /dev/null
+++ b/systemtest/testdata/bit/bit_09.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 6) from ImgCharA -- F
diff --git a/systemtest/testdata/bit/bit_09.ql.java.out b/systemtest/testdata/bit/bit_09.ql.java.out
new file mode 100644
index 0000000..857f065
--- /dev/null
+++ b/systemtest/testdata/bit/bit_09.ql.java.out
@@ -0,0 +1 @@
+00 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_09.ql.out b/systemtest/testdata/bit/bit_09.ql.out
new file mode 100644
index 0000000..7fda105
--- /dev/null
+++ b/systemtest/testdata/bit/bit_09.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: F
+Element 2: F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_10.ql b/systemtest/testdata/bit/bit_10.ql
new file mode 100644
index 0000000..9fbcb5d
--- /dev/null
+++ b/systemtest/testdata/bit/bit_10.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 7) from ImgCharA -- F
diff --git a/systemtest/testdata/bit/bit_10.ql.java.out b/systemtest/testdata/bit/bit_10.ql.java.out
new file mode 100644
index 0000000..857f065
--- /dev/null
+++ b/systemtest/testdata/bit/bit_10.ql.java.out
@@ -0,0 +1 @@
+00 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_10.ql.out b/systemtest/testdata/bit/bit_10.ql.out
new file mode 100644
index 0000000..7fda105
--- /dev/null
+++ b/systemtest/testdata/bit/bit_10.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: F
+Element 2: F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_11.ql b/systemtest/testdata/bit/bit_11.ql
new file mode 100644
index 0000000..230413f
--- /dev/null
+++ b/systemtest/testdata/bit/bit_11.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 8) from ImgCharA -- F
diff --git a/systemtest/testdata/bit/bit_11.ql.java.out b/systemtest/testdata/bit/bit_11.ql.java.out
new file mode 100644
index 0000000..857f065
--- /dev/null
+++ b/systemtest/testdata/bit/bit_11.ql.java.out
@@ -0,0 +1 @@
+00 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_11.ql.out b/systemtest/testdata/bit/bit_11.ql.out
new file mode 100644
index 0000000..7fda105
--- /dev/null
+++ b/systemtest/testdata/bit/bit_11.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: F
+Element 2: F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_12.ql b/systemtest/testdata/bit/bit_12.ql
new file mode 100644
index 0000000..59c6043
--- /dev/null
+++ b/systemtest/testdata/bit/bit_12.ql
@@ -0,0 +1,2 @@
+
+ select bit(3, 10000) from ImgCharA -- F
diff --git a/systemtest/testdata/bit/bit_12.ql.java.out b/systemtest/testdata/bit/bit_12.ql.java.out
new file mode 100644
index 0000000..857f065
--- /dev/null
+++ b/systemtest/testdata/bit/bit_12.ql.java.out
@@ -0,0 +1 @@
+00 \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_12.ql.out b/systemtest/testdata/bit/bit_12.ql.out
new file mode 100644
index 0000000..7fda105
--- /dev/null
+++ b/systemtest/testdata/bit/bit_12.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<bool>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: F
+Element 2: F
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_13.ql b/systemtest/testdata/bit/bit_13.ql
new file mode 100644
index 0000000..cd6d7a1
--- /dev/null
+++ b/systemtest/testdata/bit/bit_13.ql
@@ -0,0 +1,2 @@
+
+ select bit(3.14, 2) from ImgCharA -- Err 365
diff --git a/systemtest/testdata/bit/bit_13.ql.java.out b/systemtest/testdata/bit/bit_13.ql.java.out
new file mode 100644
index 0000000..288cdab
--- /dev/null
+++ b/systemtest/testdata/bit/bit_13.ql.java.out
@@ -0,0 +1,2 @@
+
+ ODMGException: Execution error 365 in line 4, column 9, near token bit: Scalar types of binary operation are incompatible. \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_13.ql.out b/systemtest/testdata/bit/bit_13.ql.out
new file mode 100644
index 0000000..261350d
--- /dev/null
+++ b/systemtest/testdata/bit/bit_13.ql.out
@@ -0,0 +1 @@
+-- Testbed line: error_no=365
diff --git a/systemtest/testdata/bit/bit_14.ql b/systemtest/testdata/bit/bit_14.ql
new file mode 100644
index 0000000..29db6fb
--- /dev/null
+++ b/systemtest/testdata/bit/bit_14.ql
@@ -0,0 +1,2 @@
+
+ select bit(2, 3.14) from ImgCharA -- Err 418
diff --git a/systemtest/testdata/bit/bit_14.ql.java.out b/systemtest/testdata/bit/bit_14.ql.java.out
new file mode 100644
index 0000000..339ae35
--- /dev/null
+++ b/systemtest/testdata/bit/bit_14.ql.java.out
@@ -0,0 +1,2 @@
+
+ ODMGException: Execution error 418 in line 4, column 9, near token bit: Second operand of bit function must be of integral type. \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_14.ql.out b/systemtest/testdata/bit/bit_14.ql.out
new file mode 100644
index 0000000..3ee1d3a
--- /dev/null
+++ b/systemtest/testdata/bit/bit_14.ql.out
@@ -0,0 +1 @@
+-- Testbed line: error_no=418
diff --git a/systemtest/testdata/bit/bit_15.ql b/systemtest/testdata/bit/bit_15.ql
new file mode 100644
index 0000000..a03914e
--- /dev/null
+++ b/systemtest/testdata/bit/bit_15.ql
@@ -0,0 +1,2 @@
+
+ select bit({2, 3, 4}, 1) from ImgCharA -- {T, T, F}
diff --git a/systemtest/testdata/bit/bit_15.ql.java.out b/systemtest/testdata/bit/bit_15.ql.java.out
new file mode 100644
index 0000000..f8b474d
--- /dev/null
+++ b/systemtest/testdata/bit/bit_15.ql.java.out
@@ -0,0 +1,16 @@
+
+ RasRuntimeException: Exception: Base type typeName:
+ typeID: 7
+ typeSize: 2
+struct
+{
+ typeName: RAS_BOOLEAN
+ typeID: 16
+ typeSize: 1
+ 0,
+typeName: RAS_BOOLEAN
+ typeID: 16
+ typeSize: 1
+ 1
+}
+ as ElementType is not supported yet. \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_15.ql.out b/systemtest/testdata/bit/bit_15.ql.out
new file mode 100644
index 0000000..fb11d74
--- /dev/null
+++ b/systemtest/testdata/bit/bit_15.ql.out
@@ -0,0 +1,6 @@
+-- Testbed line: result_type=set<struct { bool 0, bool 1, bool 2 }>
+-- Testbed line: result_elements=2
+-- Testbed start block:
+Element 1: { T, T, F }
+Element 2: { T, T, F }
+-- Testbed end block:
diff --git a/systemtest/testdata/bit/bit_16.ql b/systemtest/testdata/bit/bit_16.ql
new file mode 100644
index 0000000..6516304
--- /dev/null
+++ b/systemtest/testdata/bit/bit_16.ql
@@ -0,0 +1,2 @@
+
+ select bit(3.14 * a, 2) from ImgRGBA as a -- Err 364
diff --git a/systemtest/testdata/bit/bit_16.ql.java.out b/systemtest/testdata/bit/bit_16.ql.java.out
new file mode 100644
index 0000000..6301cf7
--- /dev/null
+++ b/systemtest/testdata/bit/bit_16.ql.java.out
@@ -0,0 +1,2 @@
+
+ ODMGException: Execution error 364 in line 4, column 9, near token bit: Cell base type and scalar type of binary induce operation are incompatible. \ No newline at end of file
diff --git a/systemtest/testdata/bit/bit_16.ql.out b/systemtest/testdata/bit/bit_16.ql.out
new file mode 100644
index 0000000..c517ceb
--- /dev/null
+++ b/systemtest/testdata/bit/bit_16.ql.out
@@ -0,0 +1 @@
+-- Testbed line: error_no=364