From 8a041110467a597490dd36d977b3045dbec4c2f6 Mon Sep 17 00:00:00 2001 From: chrisjonesBSU Date: Mon, 12 Aug 2024 08:58:51 -0600 Subject: [PATCH] test that polymer.children is same length as n monomers --- mbuild/tests/test_polymer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mbuild/tests/test_polymer.py b/mbuild/tests/test_polymer.py index f4ec75dd0..0bf67161d 100644 --- a/mbuild/tests/test_polymer.py +++ b/mbuild/tests/test_polymer.py @@ -18,6 +18,7 @@ def test_polymer_from_smiles(self): assert len([p for p in chain.particles() if p.name == "C"]) == 10 assert len([p for p in chain.particles() if p.name == "H"]) == 22 assert len(chain.available_ports()) == 0 + assert len(chain.children) == 5 def test_add_end_groups(self, ch2, ester): n = 6