Skip to content

Commit

Permalink
change rule writing format Mg++ to Mg2+
Browse files Browse the repository at this point in the history
  • Loading branch information
TieuLongPhan committed Aug 14, 2024
1 parent 136ffad commit a48f7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Test/SynRule/test_rule_writing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def setUp(self) -> None:
self.data = load_from_pickle("Data/Testcase/templates.pkl.gz")[0]

def test_charge_to_string(self):
self.assertEqual(RuleWriting.charge_to_string(3), "+++")
self.assertEqual(RuleWriting.charge_to_string(-2), "--")
self.assertEqual(RuleWriting.charge_to_string(3), "3+")
self.assertEqual(RuleWriting.charge_to_string(-2), "2-")
self.assertEqual(RuleWriting.charge_to_string(0), "")

def test_convert_graph_to_gml_context(self):
Expand Down

0 comments on commit a48f7a1

Please sign in to comment.