コード例 #1
0
 def test_process_allstops(self):
     d = {'a': 1, 'b': 1, 'c': 1, 'splat!': 1}
     words = ['a', 'b', 'c', 'splat!']
     self.assertEqual([], stopper.process(d, words))
コード例 #2
0
 def test_process_nostops(self):
     words = ['a', 'b', 'c', 'splat!']
     self.assertEqual(words, stopper.process({}, words))
コード例 #3
0
ファイル: testStopper.py プロジェクト: wpjunior/proled
 def test_process_allstops(self):
     d = {'a':1, 'b':1, 'c':1, 'splat!':1}
     words = ['a', 'b', 'c', 'splat!']
     self.assertEqual([], stopper.process(d, words))
コード例 #4
0
ファイル: testStopper.py プロジェクト: wpjunior/proled
 def test_process_nostops(self):
     words = ['a', 'b', 'c', 'splat!']
     self.assertEqual(words, stopper.process({}, words))
コード例 #5
0
ファイル: testStopper.py プロジェクト: pigaov10/plone4.3
 def test_process_allstops(self):
     d = {"a": 1, "b": 1, "c": 1, "splat!": 1}
     words = ["a", "b", "c", "splat!"]
     self.assertEqual([], stopper.process(d, words))
コード例 #6
0
ファイル: testStopper.py プロジェクト: pigaov10/plone4.3
 def test_process_nostops(self):
     words = ["a", "b", "c", "splat!"]
     self.assertEqual(words, stopper.process({}, words))