db_join works

This commit is contained in:
Edward Chen
2022-07-14 01:06:40 -04:00
parent 4a76549dff
commit 8182fdf1bc
5 changed files with 133 additions and 121 deletions

View File

@@ -4,32 +4,32 @@ from util import run_tests
from test_suite import *
if __name__ == "__main__":
tests = arithmetic_tests + \
arithmetic_boolean_tests + \
nary_arithmetic_tests + \
bitwise_tests + \
boolean_tests + \
nary_boolean_tests + \
const_arith_tests + \
const_bool_tests + \
ite_tests + \
shift_tests + \
div_tests + \
mod_tests + \
array_tests + \
c_array_tests + \
function_tests + \
struct_tests + \
matrix_tests + \
ptr_tests + \
c_misc_tests + \
biomatch_tests + \
kmeans_tests_2 + \
gauss_tests
# tests = arithmetic_tests + \
# arithmetic_boolean_tests + \
# nary_arithmetic_tests + \
# bitwise_tests + \
# boolean_tests + \
# nary_boolean_tests + \
# const_arith_tests + \
# const_bool_tests + \
# ite_tests + \
# shift_tests + \
# div_tests + \
# mod_tests + \
# array_tests + \
# c_array_tests + \
# function_tests + \
# struct_tests + \
# matrix_tests + \
# ptr_tests + \
# c_misc_tests + \
# biomatch_tests + \
# kmeans_tests_2 + \
# gauss_tests
# tests = biomatch_tests
# tests = db_tests
tests = db_tests
# TODO: add support for return value - int promotion
# unsigned_arithmetic_tests + \

View File

@@ -1,3 +1,3 @@
a 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
b 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
res 50
a 0 1 2 3 4 5 6 7 8 9
b 0 1 2 3 4 5 6 7 8 9
res 25