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

Class TestSub

Smart_Calculator/calculator_test.py:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 self.assertEqual(add(1, 2), 3)
7
8class TestSub(unittest.TestCase):
9 def test_sub_function(self):
10 self.assertEqual(sub(55, 5), 50)
11
12class TestMul(unittest.TestCase):
13 def test_mul_function(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected