graphix
graphix copied to clipboard
Avoid using random numbers for tests
Is your feature request related to a problem? Please describe. The use of random numbers in testing can be cited as a reason why transpiler bugs were not found until recently. A simple way to avoid this is to fix the seed value, but the best approach is to increase the number of deterministic test cases that cover various scenarios without relying on random numbers.
Describe the feature you'd like
Create as many test cases as possible to cover various scenarios in tests/test_pattern.py
and tests/test_transpiler.py
.
Additional context
- #54
- #62