def test_is_empty(): """Test that ``is_empty`` returns the correct result.""" molecule = Molecule([], []) assert molecule.is_empty() is True
def test_is_empty(): """Test that methane is not empty.""" molecule = Molecule([AtomSpec('C', 4)], []) assert molecule.is_empty() is False