Пример #1
0
 def test_words_that_cant_be_matched_by_tiles(self):
     t = Twords()
     expect(t.match("spies", "eips")) == False
Пример #2
0
 def test_matches_accept_required_tiles(self):
     t = Twords("./test/test_words.txt")
     expect(t.matches("eps", "i")) == ["is"]
Пример #3
0
 def test_words_can_be_matched_by_tiles(self):
     t = Twords()
     expect(t.match("pies", "eips")) == True
Пример #4
0
 def test_matches(self):
     t = Twords("./test/test_words.txt")
     expect(t.matches("eips")) == ["is"]