MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / add

Function add

src/test/sanity.tests.js:34–34  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

32 // Test 5: Function execution
33 runner.test("Function execution", (test) => {
34 const add = (a, b) => a + b;
35 const result = add(10, 20);
36 test.assertEqual(result, 30, "Function should return correct value");
37 });

Callers 1

runSanityTestsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected