MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / to_pascal_case

Function to_pascal_case

test/java_impl_tests/run_tests.py:27–28  ·  view source on GitHub ↗
(text: str, separator: str = "_")

Source from the content-addressed store, hash-verified

25
26
27def to_pascal_case(text: str, separator: str = "_") -> str:
28 return "".join([i.capitalize() for i in text.split("_")])
29
30
31def python_server_test_cmd(test_name: str) -> list[str]:

Callers 2

java_clientMethod · 0.70
java_serverMethod · 0.70

Calls 1

capitalizeMethod · 0.80

Tested by

no test coverage detected