|
@@ -203,9 +203,9 @@ The ``clifford`` module provides a few useful functions: |
|
|
Testing |
|
|
Testing |
|
|
---------------------- |
|
|
---------------------- |
|
|
|
|
|
|
|
|
``abp`` has a bunch of tests. It tests against all sorts of things, including the circuit model, Anders & Briegels' original code, Scott Aaronson's ``chp``, and common sense. You can run all the tests using ``nose``:: |
|
|
|
|
|
|
|
|
``abp`` has a bunch of tests. It tests against all sorts of things, including the circuit model, Anders & Briegels' original code, Scott Aaronson's ``chp``, and common sense. You can run all the tests using ``pytest``:: |
|
|
|
|
|
|
|
|
$ nosetests |
|
|
|
|
|
|
|
|
$ pytest |
|
|
... |
|
|
... |
|
|
53 tests run in 39.5 seconds (53 tests passed) |
|
|
53 tests run in 39.5 seconds (53 tests passed) |
|
|
|
|
|
|
|
|