Skip to content

Commit

Permalink
single line fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kalex84 committed Feb 27, 2024
1 parent 751e11a commit 7623c84
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file added dist/cs2solutions-0.2.6-py3-none-any.whl
Binary file not shown.
Binary file added dist/cs2solutions-0.2.6.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages = ["src/solutions"]

[project]
name = "cs2solutions"
version = "0.2.5"
version = "0.2.6"
dependencies =[
"control",
"matplotlib",
Expand Down
2 changes: 1 addition & 1 deletion src/cs2solutions.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: cs2solutions
Version: 0.2.5
Version: 0.2.6
Summary: A package containing solutions for the CS2 lecture at ETH Zürich
Author-email: Kalle Laitinen <[email protected]>, Dejan Milojevic <[email protected]>, Niclas Scheuer <[email protected]>
Maintainer-email: Kalle Laitinen <[email protected]>, Niclas Scheuer <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/cs2solutions/aircraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_aircraft_state_space(student_sol: callable, actual_sol: callable, shoul
sol_model = actual_sol()

# Check if the student's state space model is an instance of the StateSpace class
assert isinstance(student_model, type(None)), f"Please make sure to return a StateSpace object. Got {type(student_model)} instead."
assert not isinstance(student_model, type(None)), f"Please make sure to return a StateSpace object. Got {type(student_model)} instead."
assert isinstance(student_model, ct.StateSpace), f"Expected a StateSpace object, but got {type(student_model)}"

# Check if the student's state space model is equal to the solution state space model
Expand Down

0 comments on commit 7623c84

Please sign in to comment.