YAARX: Yet Another ARX Toolkit  0.1
 All Data Structures Files Functions Variables Macros Pages
adp-arx-tests.cc File Reference

Tests for adp-arx.cc. More...

#include "common.hh"
#include "adp-arx.hh"
#include "max-adp-arx.hh"

Functions

void test_adp_arx_matrices ()
 
void test_adp_arx ()
 
void test_adp_arx_rand (uint32_t N)
 
void test_adp_arx_all ()
 
void test_max_adp_arx_rand (uint32_t N)
 
void test_max_adp_arx ()
 
void test_max_adp_arx_all ()
 
void test_max_adp_arx_is_max ()
 
void test_max_adp_arx_is_max_all ()
 
int main ()
 

Detailed Description

Function Documentation

int main ( )

Main function of ADP-ARX tests.

void test_adp_arx ( )

Compare ADP-ARX to the experimental value for a single input.

void test_adp_arx_all ( )

Compare ADP-ARX to the experimental value for all input differences.

void test_adp_arx_matrices ( )

Test allocation and free of ADP-ARX matrices.

void test_adp_arx_rand ( uint32_t  N)

Test ADP-ARX to the experimental value for N random differences.

void test_max_adp_arx_rand ( uint32_t  N)

Test MAX-ADP-ARX to the experimental value for N random differences.