MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _crowd

Function _crowd

tests/test_csharp_foreach_loop_variable.py:46–57  ·  view source on GitHub ↗
(methods: str)

Source from the content-addressed store, hash-verified

44
45
46def _crowd(methods: str) -> str:
47 return (
48 "using System.Collections.Generic;\nnamespace Demo\n{\n"
49 " public class Crowd\n {\n"
50 " readonly Dictionary<string, Agent> agents = new Dictionary<string, Agent>();\n"
51 " readonly Dictionary<Agent, int> scores = new Dictionary<Agent, int>();\n"
52 " readonly List<Agent> list = new List<Agent>();\n"
53 " Agent[] array;\n"
54 " public IEnumerable<Agent> All { get; set; }\n"
55 f" {methods}\n"
56 " }\n}\n"
57 )
58
59
60def _edge(r, calls, caller, label, owner):

Calls

no outgoing calls

Tested by

no test coverage detected