mdevaluate/test/test_atoms.py

8 lines
205 B
Python

from mdevaluate import atoms
def test_compare_regex():
assert not atoms.compare_regex(["OW"], "O")[0]
assert not atoms.compare_regex(["WO"], "O")[0]
assert atoms.compare_regex(["O"], "O")[0]