Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored linalg operations tests ( addresses #4383) #4405

Merged
merged 7 commits into from
Nov 15, 2018

Commits on Oct 15, 2018

  1. Refactored linalg operations tests

    Refactored all the opeations tests.
    * Decreased tolerance for float type tests to work with `float32_t`, `float64_t` and `floatmax_t`
    * Changed tests where `int` types are required to work with both `int` and `float`
    * Did not add `complex128_t`, `bool` or `char` tests
    Gil committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    9bc6414 View commit details
    Browse the repository at this point in the history
  2. added original SE test

    I added the SE test whilst there is no fix for the typed test for this case (see my PR description)
    Gil committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    00dcc2f View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2018

  1. added get epsilon function template

    * get_epsilon is called inside each test case to determine the tolerance
    * tested these values with my own machine
    * solver tests will have a lower threshold, as these seem to change quite a bit depending on machine and lapack/blas installations
    * if typed testing is rolled out for all unit tests should move this to its own header file
    Gil committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    e296c3f View commit details
    Browse the repository at this point in the history
  2. added get_epsilon to tests

    * solvers have a fixed threshold
    * also fixed indentation
    Gil committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    b1fb379 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. template formatting

    Gil committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    02298ad View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2018

  1. automatic tolerance detection

    Gil committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    d94653f View commit details
    Browse the repository at this point in the history
  2. moved code to TYPED_TEST

    Gil committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    64668b5 View commit details
    Browse the repository at this point in the history