mdevaluate/test/test_atoms.py

8 lines
229 B
Python
Raw Normal View History

2022-04-20 12:08:38 +00:00
from mdevaluate import atoms
def test_compare_regex():
assert atoms.compare_regex(['OW', ], 'O')[0] == False
assert atoms.compare_regex(['WO', ], 'O')[0] == False
assert atoms.compare_regex(['O', ], 'O')[0] == True