Skip to content

Commit

Permalink
Scale bar tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgower committed Apr 30, 2023
1 parent e913d7e commit f3e8c88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_demesdraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def test_log_params(self, graph, log_time):
def test_labels_params(self, graph, labels):
self.check_tubes(graph, labels=labels)

@pytest.mark.parametrize("scale_bar", [True, False])
@pytest.mark.parametrize("graph", tests.example_graphs())
def test_scale_bar(self, graph, scale_bar):
self.check_tubes(graph, scale_bar=scale_bar)

@pytest.mark.parametrize(
"colours", [None, "black", dict(), dict(A="red", B="blue", C="pink")]
)
Expand Down

0 comments on commit f3e8c88

Please sign in to comment.