Files
emp-ag2pc/test/simple_circuit.cpp
2020-05-13 23:06:27 -05:00

15 lines
344 B
C++

#include <emp-tool/emp-tool.h>
#include "test/single_execution.h"
using namespace std;
using namespace emp;
int main(int argc, char** argv) {
int party, port;
parse_party_and_port(argv, &party, &port);
NetIO* io = new NetIO(party==ALICE ? nullptr:IP, port);
//io->set_nodelay();
test(party, io, "test/ands.txt");
delete io;
return 0;
}