MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / TestGraph

Class TestGraph

src/analysis/postdom/tests.rs:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6use rustc_data_structures::graph::{Predecessors, StartNode, Successors};
7
8pub struct TestGraph {
9 num_nodes: usize,
10 start_node: usize,
11 successors: FxHashMap<usize, Vec<usize>>,
12 predecessors: FxHashMap<usize, Vec<usize>>,
13}
14
15impl TestGraph {
16 pub fn new(start_node: usize, edges: &[(usize, usize)]) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected