Skip to content

Commit

Permalink
Update test_example_circuit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc committed Dec 11, 2023
1 parent f98e7df commit 8a40389
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ def example_circuit():
return num_errors

def test_example_circuit():
import os
path = os.path.dirname(os.path.realpath(__file__))
import sys
sys.path.insert(0,os.path.abspath(os.path.join(path, '../../../python')))
import SiEPIC

assert example_circuit() == 0

if __name__ == "__main__":
Expand Down

0 comments on commit 8a40389

Please sign in to comment.