mirror of
https://github.com/circify/circ.git
synced 2026-04-21 03:00:54 -04:00
ite... doesn't work yet
This commit is contained in:
Binary file not shown.
@@ -9,7 +9,8 @@ if __name__ == "__main__":
|
||||
boolean_tests + \
|
||||
nary_boolean_tests + \
|
||||
const_arith_tests + \
|
||||
const_bool_tests # + \
|
||||
const_bool_tests + \
|
||||
ite_tests
|
||||
# loop_tests + \
|
||||
# ite_tests + \
|
||||
# function_tests + \
|
||||
|
||||
@@ -72,6 +72,7 @@ def run_tests(lang: str, tests: List[dict]):
|
||||
4. server arguments: dict[name] = value
|
||||
5. client arguments: dict[name] = value
|
||||
'''
|
||||
print("Running tests for frontend", lang)
|
||||
failed_test_descs = []
|
||||
num_retries = 3
|
||||
progress_inc = 5
|
||||
|
||||
@@ -55,3 +55,7 @@ mpc_test 2 ./examples/C/mpc/unit_tests/nary_boolean_tests/2pc_nary_boolean_and.c
|
||||
mpc_test 2 ./examples/C/mpc/unit_tests/const_tests/2pc_const_arith.c
|
||||
mpc_test 2 ./examples/C/mpc/unit_tests/const_tests/2pc_const_bool.c
|
||||
|
||||
# build ite tests
|
||||
mpc_test 2 ./examples/C/mpc/unit_tests/ite_tests/2pc_ite_ret_bool.c
|
||||
# mpc_test 2 ./examples/C/mpc/unit_tests/ite_tests/2pc_ite_ret_int.c
|
||||
|
||||
|
||||
@@ -51,14 +51,14 @@ mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/boolean_tests/2pc_boolean_equals.z
|
||||
# build mpc nary boolean tests
|
||||
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/nary_boolean_tests/2pc_nary_boolean_and.zok
|
||||
|
||||
# build ite tests
|
||||
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/ite_tests/2pc_ite_ret_bool.zok
|
||||
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/ite_tests/2pc_ite_ret_int.zok
|
||||
|
||||
# build mpc const tests
|
||||
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/const_tests/2pc_const_arith.zok
|
||||
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/const_tests/2pc_const_bool.zok
|
||||
|
||||
# build ite tests
|
||||
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/ite_tests/2pc_ite_ret_bool.zok
|
||||
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/ite_tests/2pc_ite_ret_int.zok
|
||||
|
||||
# build mpc array tests
|
||||
# mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/array_tests/2pc_array_sum.zok
|
||||
# mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/array_tests/2pc_array_ret.zok
|
||||
|
||||
Reference in New Issue
Block a user