@ -11,6 +11,9 @@ from src.bm import Bm
("ANPANMAN", "PAN", 2),
("ANPANMAN", "ANPAN", 0),
("ANPANMAN", "BIKINMAN", -1),
# Other useful test cases:
("ユニコード", "コード", 2),
])
def test_bm(text, pattern, expected):
bm = Bm(text, pattern)