()
| 29 | #[allow(non_snake_case)] |
| 30 | #[test] |
| 31 | fn lazy_Prim_mst() { |
| 32 | let i = TINY_EWG; |
| 33 | let g = create_graph(i); |
| 34 | let mst = LazyPrimMST::new(g.as_ref()); |
| 35 | assert_relative_eq!(1.81, mst.weight()); |
| 36 | assert!(mst.check(g.as_ref()).is_ok()); |
| 37 | |
| 38 | // for e in mst.edges() { |
| 39 | // println!("{}", e.to_string()); |
| 40 | // } |
| 41 | } |
| 42 | |
| 43 | #[allow(non_snake_case)] |
| 44 | #[test] |
nothing calls this directly
no test coverage detected