You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
205 B
12 lines
205 B
import unittest
|
|
|
|
def add_six(i):
|
|
return i + 6
|
|
|
|
class TestAddSix(unittest.TestCase):
|
|
|
|
def test_add_six(self):
|
|
self.assertEqual(add_six(2), 8)
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|