Exemple #1
0
def test_add_num():
    print "Running test ADD"
    assert add_two_num(2, 3) == 5
    assert add_two_num(-2, 3) == 1
    assert add_two_num(-2, -3) == -5
def test_add_num():
    print "Running test ADD"
    assert add_two_num(2, 3) == 5
    assert add_two_num(-2, 3) == 1
    assert add_two_num(-2, -3) == -5
 def test_add_num(self):
     print 10*"*"+" Test add num"
     assert add_two_num(2, 3) == 5
     assert add_two_num(-2, 3) == 1
 def test_add_num(self):
     print 10 * "*" + " Test add num"
     assert add_two_num(2, 3) == 5
     assert add_two_num(-2, 3) == 1