MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_kv_table_add

Function test_kv_table_add

atomic-cli/src/output/table.rs:835–839  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

833
834 #[test]
835 fn test_kv_table_add() {
836 let table = KeyValueTable::new().add("Name", "Alice").add("Age", "30");
837
838 assert_eq!(table.len(), 2);
839 }
840
841 #[test]
842 fn test_kv_table_render() {

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected