MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / test_namespaces

Function test_namespaces

fendermint/storage/src/testing.rs:17–19  ·  view source on GitHub ↗

Return all namespaces used by the tests, so they can be pre-allocated, if necessary.

()

Source from the content-addressed store, hash-verified

15
16/// Return all namespaces used by the tests, so they can be pre-allocated, if necessary.
17pub fn test_namespaces() -> &'static [&'static str] {
18 ["fizz", "buzz", "spam", "eggs"].as_slice()
19}
20
21/// Test operations on some collections with known types,
22/// so we can have the simplest possible model implementation.

Callers 1

new_backendFunction · 0.85

Calls 1

as_sliceMethod · 0.80

Tested by

no test coverage detected