We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ddd6ea commit c5c644bCopy full SHA for c5c644b
1 file changed
arc/common_test.py
@@ -1370,6 +1370,17 @@ def test_is_xyz_mol_match(self):
1370
self.assertFalse(common.is_xyz_mol_match(mol1, xyz2))
1371
self.assertTrue(common.is_xyz_mol_match(mol2, xyz2))
1372
1373
+ def test_fill_in_the_blanks(self):
1374
+ """Test the fill_in_the_blanks() function"""
1375
+ ex1 = "michalkfir"
1376
+ ex2 = "michal kfir"
1377
+ ex3 = "mich al kfir"
1378
+ ex4 = "michal kfir"
1379
+ self.assertTrue(common.fill_in_the_blanks(ex1), "michalkfir")
1380
+ self.assertTrue(common.fill_in_the_blanks(ex2), "michal\\ kfir")
1381
+ self.assertTrue(common.fill_in_the_blanks(ex3), "mich\\ al\\ kfir")
1382
+ self.assertTrue(common.fill_in_the_blanks(ex4), "michal\\ \\ kfir")
1383
+
1384
@classmethod
1385
def tearDownClass(cls):
1386
"""
0 commit comments