Skip to content

Commit

Permalink
passing tests; check submodule is not invoked later
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomsk committed Jun 26, 2024
1 parent 9b503e0 commit 46fba2c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/test_submodules.py
Original file line number Diff line number Diff line change
@@ -1,14 +0,0 @@
from qadence_core.platforms.model import Parameter, Instruction
from qadence_core.expressions.expr import Expr


def test_model_calls():
assert Parameter("theta", 1, mutable=False)
assert Parameter("omega", 1, mutable=True)
assert Instruction("not", (0,))
assert Instruction("rx", (1,), Parameter("theta1", 1, mutable=False))


def test_expr_call():
assert Expr("a")
assert Expr("a") + Expr("b")

0 comments on commit 46fba2c

Please sign in to comment.