Skip to content

Commit

Permalink
f! fam tst
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Jul 2, 2024
1 parent 7db1fee commit e36816d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arc/reaction/family_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ def test_is_own_reverse(self):
groups_as_lines = ['template(reactants=["Root"], products=["ketone"], ownReverse=False)',
'reverse = "Ketone_To_Enol"', 'reversible = True']
self.assertFalse(is_own_reverse(groups_as_lines))
groups_as_lines = ['template(reactants=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], '
'products=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], '
groups_as_lines = ['template(reactants=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' +
'products=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' +
'ownReverse=True)', 'reversible = True']
self.assertTrue(is_own_reverse(groups_as_lines))

Expand All @@ -508,8 +508,8 @@ def test_get_product_num(self):
groups_as_lines = ['template(reactants=["Root"], products=["ketone"], ownReverse=False)',
'reverse = "Ketone_To_Enol"', 'reversible = True']
self.assertEqual(get_product_num(groups_as_lines), 1)
groups_as_lines = ['template(reactants=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], '
'products=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], '
groups_as_lines = ['template(reactants=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' +
'products=["X_H_or_Xrad_H_Xbirad_H_Xtrirad_H", "Y_rad_birad_trirad_quadrad"], ' +
'ownReverse=True)', 'reversible = True']
self.assertEqual(get_product_num(groups_as_lines), 2)

Expand Down

0 comments on commit e36816d

Please sign in to comment.