Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ndleah/python-mini-project
/ test_add_function
Method
test_add_function
Smart_Calculator/calculator_test.py:5–6 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3
4
class
TestAdd(unittest.TestCase):
5
def
test_add_function(self):
6
self.assertEqual(add(1, 2), 3)
7
8
class
TestSub(unittest.TestCase):
9
def
test_sub_function(self):
Callers
nothing calls this directly
Calls
1
add
Function · 0.90
Tested by
no test coverage detected