diff --git a/test/test_core_operations.py b/test/test_core_operations.py index fb957213fc1baf1858693af1492951368432ea30..783bcd6d10996cee6551c7485ebc59b32510177e 100644 --- a/test/test_core_operations.py +++ b/test/test_core_operations.py @@ -33,6 +33,12 @@ class TestConstant: test_operation = Constant(3 + 4j) assert test_operation.evaluate_output(0, []) == 3 + 4j + def test_constant_change_value(self): + test_operation = Constant(3) + assert test_operation.value == 3 + test_operation.value = 4 + assert test_operation.value == 4 + class TestAddition: """Tests for Addition class."""