Skip to content

Commit

Permalink
extend plot test
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoMVale committed Nov 2, 2023
1 parent 1275095 commit b899d92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/copolymerization/test_copolymerization.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def test_TerminalCopoModel_drift():


def test_TerminalCopoModel_plot():
model = TerminalCopoModel(0.5, 0.5, "Monomer1", "Monomer2", "Model1")
result = model.plot(M=1, f0=0.2, title="Test Plot", return_objects=True)
model = TerminalCopoModel(0.5, 0.5, "Monomer1", "Monomer2", "MyModel")
result = model.plot(M=1, f0=0.2, return_objects=True)
assert len(result) == 2
result = model.plot(M=1, return_objects=True)
assert len(result) == 2

0 comments on commit b899d92

Please sign in to comment.