Guest User

Untitled

a guest
Apr 25th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import unittest
  2. import sys
  3. sys.path.append('..')
  4. import calc
  5.  
  6. class TestCalc(unittest.TestCase):
  7.  
  8. def test_add(self):
  9. self.assertEqual(calc.add(1, 2), 3)
  10.  
  11. if __name__ == '__main__':
  12. unittest.main()
Add Comment
Please, Sign In to add comment