Skip to content

Commit

Permalink
Add additional test for stringify cfm
Browse files Browse the repository at this point in the history
  • Loading branch information
Aonokishi authored and DoctorJohn committed Sep 1, 2024
1 parent f355e9c commit ead09e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/plugins/test_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,9 @@ def test_stringify_cfm():
[Constraint(True, feature, Cardinality([]), feature, Cardinality([]))],
[],
)
print(stringify_cfm(cfm))

assert cfm_str in stringify_cfm(cfm)


def test_stringify_cfm_can_stringify_none_cfm():
assert stringify_cfm(None) == "CFM:\nNone"

0 comments on commit ead09e6

Please sign in to comment.