MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / test_insert_edges_empty

Function test_insert_edges_empty

tests/storage_suite/db_query_test.rs:461–468  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

459
460#[tokio::test]
461async fn test_insert_edges_empty() {
462 let db = setup_db().await;
463 db.insert_edges(&[])
464 .await
465 .expect("insert_edges with empty slice should succeed");
466 let all = db.get_all_edges().await.expect("get_all_edges failed");
467 assert!(all.is_empty());
468}
469
470// -------------------------------------------------------------------------
471// insert_edges — missing-node scenarios (#58)

Callers

nothing calls this directly

Calls 3

insert_edgesMethod · 0.80
setup_dbFunction · 0.70
get_all_edgesMethod · 0.45

Tested by

no test coverage detected