Tests
The following is auto-generated documentation for our test suite. The source code will be more useful for understanding the tests.
test_shuffle
test_join
Functions
-
int main(int argc, char **argv)
test_comparisons
Functions
-
int main(int argc, char **argv)
test_pooled
test_runtime
test_randomness
Functions
-
template<typename T>
void test_xchacha20_randomness()
-
void helper_check_group_generation_correct(int num_parties, int group_size, std::vector<std::set<int>> correct)
-
void test_group_generation()
-
int main(int argc, char **argv)
Variables
-
const int num_parties = PROTOCOL_NUM
test_malicious
Defines
-
MAL_TEST_MODE
test_operators
Functions
-
template<typename S, typename Engine>
void test_vector_aggregation(const size_t test_size, Engine &engine)
-
template<typename Engine>
void test_max_monotonic(Engine &engine) Special test to confirm that MAX aggregation is properly incrementally computed (i.e., result is monotonic). We crucially rely on this fact for the implementation of the threshold session window operator.
This was previously broken due to a incorrect argument to an access pattern; it’s a gnarly bug and even the correct output is a bit tricky to follow, so I think this is a good test to keep.
-
int main(int argc, char **argv)
test_securejoin
Test that SecureJoin is properly installed and basic functionality works.
Functions
-
int main(int argc, char **argv)
test_communication
Functions
-
int main(int argc, char **argv)
Variables
-
const int test_size = 1 << 16
test_computation_library
Functions
-
int main(int argc, char **argv)
test_sorting
Defines
-
TEST_SIZE
Functions
-
template<typename Engine>
void test_table_sort_single(int num_rows, int num_columns, cdough::SortingProtocol protocol, Engine &engine)
-
template<typename Engine>
void test_table_sort_multi(int num_rows, int num_columns, cdough::SortingProtocol protocol, bool test_tiebreak_explicit, Engine &engine)
-
int main(int argc, char **argv)
test_io
Functions
-
int main(int argc, char **argv)
test_primitives
Defines
-
DEFINE_TEST_BINARY_OP(_op_, shareType, name)
Functions
-
template<typename T, typename Engine>
void test_arithmetic_greater_than(int test_size, Engine &engine)
-
template<typename T, typename Engine>
void test_arithmetic_greater_than_equal(int test_size, Engine &engine)
-
template<typename T, typename Engine>
void test_dot_product(int test_size, const size_t aggSize, Engine &engine)
-
template<typename T, typename Engine>
void test_arithmetic_greater_than_public(Vector<T> data, Engine &engine)
-
int main(int argc, char **argv)
test_libote
Test that libOTe is properly installed and basic functionality works.
Functions
-
int main(int argc, char **argv)
test_count_wrong_div
Functions
-
int main(int argc, char **argv)
test_table_operators
test_bitonic_sort
Functions
-
int main(int argc, char **argv)