ngnrsaa / qflex

Flexible Quantum Circuit Simulator (qFlex) implements an efficient tensor network, CPU-based simulator of large quantum circuits.
Apache License 2.0
97 stars 25 forks source link

add unit tests #3

Closed dlyongemallo closed 5 years ago

dlyongemallo commented 5 years ago

Unit tests need to be added before refactoring to ensure the same behaviour is maintained.

It probably makes the most sense to use gtest.

dlyongemallo commented 5 years ago

The directory structure should probably be changed, so that there are separate subdirectories for src and test.

95-martin-orion commented 5 years ago

Initial tests for each library are now available; further work on this is tracked by issues #7 and #33.