Skip to content

Commit

Permalink
Wrote new empirical formula test
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalshaikh42 committed Jul 5, 2018
1 parent 8a4f131 commit ad2a70f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,10 @@ def test_get_seq(self):

def test_get_empirical_formula(self):
self.assertEqual(self.prot1.get_empirical_formula(),
chem.EmpiricalFormula('C105H144N26O32S'))
chem.EmpiricalFormula('C1980H3146N510O596S7'))

self.assertEqual(self.prot2.get_empirical_formula(),
chem.EmpiricalFormula('C21H40N8O6'))
chem.EmpiricalFormula('C1246H1928N306O352S3'))

def test_get_mol_wt(self):
# Test is based on Collagen Type IV a3 (https://pubchem.ncbi.nlm.nih.gov/compound/44511378)
Expand Down

0 comments on commit ad2a70f

Please sign in to comment.