MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / TestAdd

Class TestAdd

Smart_Calculator/calculator_test.py:4–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2from calculator import add, sub, mul, div, mod, lcm, hcf
3
4class TestAdd(unittest.TestCase):
5 def test_add_function(self):
6 self.assertEqual(add(1, 2), 3)
7
8class TestSub(unittest.TestCase):
9 def test_sub_function(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected