MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / single_node_runs

Function single_node_runs

native/shared/src/renderer/graph.rs:291–297  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289
290 #[test]
291 fn single_node_runs() {
292 let mut graph = Graph::new();
293 graph.push(PassNode::new("a", record("a")));
294 let mut ctx = Vec::new();
295 graph.execute(&mut ctx).unwrap();
296 assert_eq!(ctx, vec!["a"]);
297 }
298
299 #[test]
300 fn data_dependency_orders_reads_after_writes() {

Callers

nothing calls this directly

Calls 3

recordFunction · 0.85
executeMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected