예제 #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"]