예제 #1
0
def test_increment():
	assert dfn.increment(2) == 3
예제 #2
0
def bag_of_words(text):
    text = strip_punctuation(text)
    words = set(text.split(' '))
    return wordsasser dfn.increment(2)  == 3
    
예제 #3
0
def test_increment():
    assert dfn.increment(3) == 5
예제 #4
0
def test_increment():
    """tests if increment function(2) equals 3"""
    assert dfn.increment(2) == 3
예제 #5
0
 def test_function1(self):
     self.assertEqual(increment(2), 3)