YAARX: Yet Another ARX Toolkit  0.1
 All Data Structures Files Functions Variables Macros Pages
xdp-add-diff-set-tests.cc File Reference

Tests for xdp-add-diff-set.cc . More...

#include "common.hh"
#include "adp-xor.hh"
#include "xdp-add.hh"
#include "max-xdp-add.hh"
#include "xdp-add-diff-set.hh"

Macros

#define LIM   14
 

Functions

void test_xdp_add_dset_print_matrices ()
 
void test_xdp_add_dset_init_states ()
 
void test_xdp_add_dset ()
 
void test_xdp_add_dset_vs_exper_all ()
 
void test_xdp_add_dset_vs_exper_rand ()
 
void test_xdp_add_input_diff_to_output_dset_all ()
 
void test_xdp_add_input_dsets_to_input_diffs ()
 
void test_xdp_add_input_dsets_to_input_diffs_all ()
 
void test_xdp_add_input_dsets_to_input_diffs_belong_all ()
 
void test_xdp_add_count_nz ()
 
void test_lrot_dset ()
 
void test_xor_dset ()
 
void test_rmax_xdp_add_dset_is_max_all ()
 
void test_rmax_xdp_add_dset_is_max_rand ()
 
int main ()
 

Detailed Description

Function Documentation

int main ( )

Main function of the tests.

void test_xdp_add_input_dsets_to_input_diffs ( )
void test_xdp_add_input_dsets_to_input_diffs_all ( )

Test for xdp_add_input_dsets_to_input_diffs for all inputs.

void test_xdp_add_input_dsets_to_input_diffs_belong_all ( )

Test for xdp_add_input_dsets_to_input_diffs for all inputs: verify that the generated differences da^j, db^j belong resp. to da_set, db_set