mirror of
https://github.com/circify/circ.git
synced 2026-04-21 03:00:54 -04:00
Supporting: - structs - ptrs - n-dimension arrays - nested structs - typedef - sizeof - shift operations Benchmarks: - Original HyCC kmeans testcase (without recursion). - Original HyCC gauss testcase. Co-authored-by: Alex Ozdemir <aozdemir@hmc.edu> Co-authored-by: Ubuntu <ubuntu@neptune2.maas>
19 lines
330 B
Python
Executable File
19 lines
330 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import os
|
|
from util import run_tests
|
|
from test_suite import *
|
|
|
|
ABY_SOURCE = os.getenv("ABY_SOURCE")
|
|
|
|
if __name__ == "__main__":
|
|
tests = [[
|
|
"loop add",
|
|
3,
|
|
ABY_SOURCE+"/build/bin/2pc_loop_add",
|
|
{"a": 1, "b": 0},
|
|
{"a": 0, "b": 2},
|
|
]]
|
|
|
|
run_tests('c', tests)
|