Skip to content

Commit

Permalink
test: check that toMolfileWithH has hydrogens in v3
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Dec 10, 2024
1 parent c16754d commit 7580a83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/topic/__tests__/TopicMolecule.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ describe('TopicMolecule', () => {

expect(topicMolecule.diaIDs).toStrictEqual([]);
expect(topicMolecule.toMolfileWithH().split('\n')).toHaveLength(549);
expect(
topicMolecule.toMolfileWithH({ version: 3 }).split('\n'),
).toHaveLength(556);
expect(logger.getLogs()).toHaveLength(2);

const topicMolecule2 = new TopicMolecule(molecule, {
Expand Down

0 comments on commit 7580a83

Please sign in to comment.