We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1332fa6 commit 9f0dd98Copy full SHA for 9f0dd98
1 file changed
arc/commonTest.py
@@ -1230,6 +1230,17 @@ def test_almost_equal_coords(self):
1230
self.assertTrue(common.almost_equal_coords(ch4_a, ch4_c))
1231
self.assertFalse(common.almost_equal_coords(ch4_a, ch4_d))
1232
1233
+ def test_fill_in_the_blanks(self):
1234
+ """Test the fill_in_the_blanks() function"""
1235
+ ex1 = "michalkfir"
1236
+ ex2 = "michal kfir"
1237
+ ex3 = "mich al kfir"
1238
+ ex4 = "michal kfir"
1239
+ self.assertTrue(common.fill_in_the_blanks(ex1), "michalkfir")
1240
+ self.assertTrue(common.fill_in_the_blanks(ex2), "michal\\ kfir")
1241
+ self.assertTrue(common.fill_in_the_blanks(ex3), "mich\\ al\\ kfir")
1242
+ self.assertTrue(common.fill_in_the_blanks(ex4), "michal\\ \\ kfir")
1243
+
1244
@classmethod
1245
def tearDownClass(cls):
1246
"""
0 commit comments