-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit tests for Grovers, Measure nodes (#91)
* fixed invalid input test case in grovers, fixed typo in grover's documentation * fixed test case with error condition on grovers node * fixed other Local simulator node tests failing because of Grovers test * added a test util generic function to validate output based on input, added test case for Measure Node, fixed Quantum Circuit node to store a reference to shell instance, to be able to stop it in tests later * refactored grovers_spec.js to use testUtil function to validate output * removing shel reference in quantum-circuit node instance * Lint code * fixed issue with error condition testing * moved commits from master to unit-tests branch * Fix shors_spec.js formatting * Re-enable disabled shors tests * Increase timeout for shors test - Increase timeout for `return success output on valid input` test to 25000ms. - Reduce timeout for all tests from 15000ms to 10000ms. Co-authored-by: Louis Lefevre <[email protected]>
- Loading branch information
1 parent
f5fae5a
commit aa94963
Showing
7 changed files
with
76 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters