コード例 #1
0
ファイル: test_hw2.py プロジェクト: joshgrib/cs115
 def test10(self):
     self.assertEqual(hw2.bestWord(['b', 'b', 'b', 'l', 'r', 'a', 'e']), ['babble', 12])
コード例 #2
0
ファイル: test_hw2.py プロジェクト: joshgrib/cs115
 def test08(self):
     self.assertEqual(hw2.bestWord(['a', 's', 'm', 't', 'p']), ['spam', 8])
コード例 #3
0
ファイル: test_hw2.py プロジェクト: joshgrib/cs115
 def test09(self):
     self.assertEqual(hw2.bestWord(['g', 'y', 'e']), ['', 0])
コード例 #4
0
ファイル: test_hw2.py プロジェクト: joshgrib/cs115
 def test07(self):
     self.assertEqual(hw2.bestWord(['a']), ['a', 1])
コード例 #5
0
 def test10(self):
     self.assertEqual(hw2.bestWord(['b', 'b', 'b', 'l', 'r', 'a', 'e']),
                      ['babble', 12])
コード例 #6
0
 def test09(self):
     self.assertEqual(hw2.bestWord(['g', 'y', 'e']), ['', 0])
コード例 #7
0
 def test08(self):
     self.assertEqual(hw2.bestWord(['a', 's', 'm', 't', 'p']), ['spam', 8])
コード例 #8
0
 def test07(self):
     self.assertEqual(hw2.bestWord(['a']), ['a', 1])