Regression Tests
[uBLAS Extensions]

Collaboration diagram for Regression Tests:


Detailed Description

Regression tests for the ublas package.



 BOOST_AUTO_TEST_CASE (real_matrix_test)
 Run a real valued matrix through the standard math routines.
 BOOST_AUTO_TEST_CASE (complex_matrix_test)
 Run a complex valued matrix through the standard math routines.
 BOOST_AUTO_TEST_CASE (pow_matrix_test)
 Test all of the real and complex combinations of the pow() function.
 BOOST_AUTO_TEST_CASE (signal_matrix_test)
 Test the generation of real valued and analytic signals from a matrix of arguments.
 BOOST_AUTO_TEST_CASE (realInverse_matrix_test)
 Run real valued trig routines forward and backward to check algorithms.
 BOOST_AUTO_TEST_CASE (complexInverse_matrix_test)
 Run complex trig routines forward and backward to check algorithms.



 BOOST_AUTO_TEST_CASE (rand_vector_test)
 Generate vectors of random numbers.
 BOOST_AUTO_TEST_CASE (rand_matrix_test)
 Generate matrices of random numbers.



 BOOST_AUTO_TEST_CASE (real_vector_test)
 Run a real valued vector through the standard math routines.
 BOOST_AUTO_TEST_CASE (complex_vector_test)
 Run a complex valued vector through the standard math routines.
 BOOST_AUTO_TEST_CASE (pow_vector_test)
 Test all of the real and complex combinations of the pow() function.
 BOOST_AUTO_TEST_CASE (signal_vector_test)
 Test the generation of real valued and analytic signals from a vector of arguments.
 BOOST_AUTO_TEST_CASE (realInverse_vector_test)
 Run trig routines forward and backward to check algorithms.
 BOOST_AUTO_TEST_CASE (complexInverse_vector_test)
 Run complex trig routines forward and backward to check algorithms.

Function Documentation

BOOST_AUTO_TEST_CASE ( complexInverse_vector_test   ) 

Run complex trig routines forward and backward to check algorithms.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( realInverse_vector_test   ) 

Run trig routines forward and backward to check algorithms.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( signal_vector_test   ) 

Test the generation of real valued and analytic signals from a vector of arguments.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( pow_vector_test   ) 

Test all of the real and complex combinations of the pow() function.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( complex_vector_test   ) 

Run a complex valued vector through the standard math routines.

Tests include:

  • addition of vector to itself
  • add scalar to vector
  • subtract vector from scalar
  • divide scalar by vector
  • min, max, floor, and ceil clipping using a scalar
  • conversion routines for degrees/radians and latitude/colatitude
  • algebraic functions: abs(), abs2(), arg(), sqrt()
  • trig functions: cos(), cosh(), sin(), sinh(), tan(), tanh()
  • exponential functions: exp(), log(), log10()

Assume that testers will visually inspect the results.

Warning: Some compilers, at low optimization levels, fail to properly chain multiple ublas operations into a single evaluation. When this happens, the result is equal to the first operation. These tests have been designed to catch this flaw.

BOOST_AUTO_TEST_CASE ( rand_matrix_test   ) 

Generate matrices of random numbers.

Re-use the same seed each time.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( complexInverse_matrix_test   ) 

Run complex trig routines forward and backward to check algorithms.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( realInverse_matrix_test   ) 

Run real valued trig routines forward and backward to check algorithms.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( signal_matrix_test   ) 

Test the generation of real valued and analytic signals from a matrix of arguments.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( pow_matrix_test   ) 

Test all of the real and complex combinations of the pow() function.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( complex_matrix_test   ) 

Run a complex valued matrix through the standard math routines.

Tests include:

  • addition of matrix to itself
  • add scalar to matrix
  • subtract matrix from scalar
  • divide scalar by matrix
  • conversion routines for degrees/radians and latitude/colatitude
  • algebraic functions: abs(), abs2(), arg(), sqrt()
  • trig functions: cos(), cosh(), sin(), sinh(), tan(), tanh()
  • exponential functions: exp(), log(), log10()

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( real_vector_test   ) 

Run a real valued vector through the standard math routines.

Tests include:

  • addition of vector to itself
  • add scalar to vector
  • subtract vector from scalar
  • divide scalar by vector
  • limiting functions: min, max, floor, and ceil
  • conversion routines for degrees/radians and latitude/colatitude
  • algebraic functions: abs(), abs2(), arg(), sqrt()
  • trig functions: cos(), cosh(), sin(), sinh(), tan(), tanh()
  • exponential functions: exp(), log(), log10()

Assume that testers will visually inspect the results.

Warning: Some compilers, at low optimization levels, fail to properly chain multiple ublas operations into a single evaluation. When this happens, the result is equal to the first operation. These tests have been designed to catch this flaw.

BOOST_AUTO_TEST_CASE ( rand_vector_test   ) 

Generate vectors of random numbers.

Re-use the same seed each time.

Assume that testers will visually inspect the results.

BOOST_AUTO_TEST_CASE ( real_matrix_test   ) 

Run a real valued matrix through the standard math routines.

Tests include:

  • addition of matrix to itself
  • add scalar to matrix
  • subtract matrix from scalar
  • divide scalar by matrix
  • limiting functions: min, max, floor, and ceil
  • conversion routines for degrees/radians and latitude/colatitude
  • algebraic functions: abs(), abs2(), arg(), sqrt()
  • trig functions: cos(), cosh(), sin(), sinh(), tan(), tanh()
  • exponential functions: exp(), log(), log10()

Assume that testers will visually inspect the results.

Warning: Some compilers, at low optimization levels, fail to properly chain multiple ublas operations into a single evaluation. When this happens, the result is equal to the first operation. These tests have been designed to catch this flaw.


Generated on 4 May 2015 for USML by  doxygen 1.6.1