Skip to content

Commit

Permalink
Fix ing unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
adam2392 committed Jul 29, 2023
1 parent 0ef79ce commit 3867054
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pywhy_graphs/classes/tests/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,6 @@ def test_add_s_nodes(self):

assert G.s_nodes == []
G.add_s_node(domain_ids=(0, 1), node_changes={0, 1})
assert G.s_nodes == [("S", 0)]

# S-nodes are encoded with a similar pattern as F-nodes
assert G.s_nodes == [("F", 0)]

0 comments on commit 3867054

Please sign in to comment.