Added Unicode test to strings/rabin_karp.py ()

* Added print function into matrix_multiplication_addition.py and removed blank space in data_structures/binary tree directory

* Removed .vs/ folder per 

* Rename matrix_multiplication_addition.py to matrix_operation.py

* Unicode test on strings/rabin_karp.py per 
This commit is contained in:
Hector S 2019-08-05 01:07:52 -04:00 committed by Christian Clauss
parent 87a789af51
commit 4437439363

@ -73,6 +73,13 @@ def test_rabin_karp():
pattern = "abcdabcy"
text = "abcxabcdabxabcdabcdabcy"
assert rabin_karp(pattern, text)
# Test 5)
pattern = ""
text = "Lüsai"
assert rabin_karp(pattern, text)
pattern = "Lue"
assert not rabin_karp(pattern, text)
print("Success.")