Skip to content
Snippets Groups Projects
  • Vasileios Karakasis's avatar
    Feature/mechanisms unit tests (#96) · fc7e2785
    Vasileios Karakasis authored and Sam Yates's avatar Sam Yates committed
    These tests are intended to test the sanity of the `modcc` generated code for the individual mechanisms. The don't have any physical background. Potentially optimized CPU-targeted mechanisms generated in the build are compared with unoptimized mechanisms generated from the reference modules.
    
    * Add generic unit tests for individual mechanisms.
    * Make unit tests exercise potential problems with aliased indexes (point processes).
    * Ensure unit tests correspond to multiple low level vector operations.
    * Ensure unit tests run with voltage, current and indices initialized with varying values.
    * Refactor CMake code for module compilation to reduce cut-and-paste code and build complexity.
    fc7e2785