Skip to content

Unit tests for SU(2)

David Mueller requested to merge dmueller/openpixi_c:su2_unit_tests into master

I implemented tests for the SU(2) classes. For more complex tests (multiplication, etc.) I tested against results from the Eigen library.

Other changes:

  • Eigen is downloaded using DownloadProject (which is basically a wrapper around ExternalProject_Add)
  • Switched C++ 14, which makes it possible to use complex literals. This simplifies complex matrices with Eigen.
  • Removed temporary tests.
  • Added headers for test files.
  • Catch header was updated to v1.7.0.
  • Fixed minor spelling mistakes in SU(2) code.

Merge request reports