예제 #1
0
        def test_possible_words(self):
                values = ['w','o','r','k','m','a','n']
                dictionary = load_dictionary("./dictionary.txt")
                finder = WordFinder(dictionary)
                correct_words = finder.create_possible_words(values)
		print correct_words
예제 #2
0
 def test_possible_words(self):
     values = ['w', 'o', 'r', 'k', 'm', 'a', 'n']
     dictionary = load_dictionary("./dictionary.txt")
     finder = WordFinder(dictionary)
     correct_words = finder.create_possible_words(values)
     print correct_words
예제 #3
0
        def test_possible_words_simple_word(self):
                values = ['z','o','o']
                dictionary = load_dictionary("./dictionary.txt")
                finder = WordFinder(dictionary)
                correct_words = finder.create_possible_words(values)
		print correct_words
예제 #4
0
 def test_possible_words_simple_word(self):
     values = ['z', 'o', 'o']
     dictionary = load_dictionary("./dictionary.txt")
     finder = WordFinder(dictionary)
     correct_words = finder.create_possible_words(values)
     print correct_words