()
| 8 | |
| 9 | #[test] |
| 10 | fn parse() { |
| 11 | let i = TINY_EWG; |
| 12 | let graph = create_graph(i); |
| 13 | assert_eq!(graph.V(), 8); |
| 14 | assert_eq!(graph.E(), 16); |
| 15 | /* |
| 16 | 8 16 |
| 17 | 0: 6-0 0.58000 0-2 0.26000 0-4 0.38000 0-7 0.16000 |
| 18 | 1: 1-3 0.29000 1-2 0.36000 1-7 0.19000 1-5 0.32000 |
| 19 | 2: 6-2 0.40000 2-7 0.34000 1-2 0.36000 0-2 0.26000 2-3 0.17000 |
| 20 | 3: 3-6 0.52000 1-3 0.29000 2-3 0.17000 |
| 21 | 4: 6-4 0.93000 0-4 0.38000 4-7 0.37000 4-5 0.35000 |
| 22 | 5: 1-5 0.32000 5-7 0.28000 4-5 0.35000 |
| 23 | 6: 6-4 0.93000 6-0 0.58000 3-6 0.52000 6-2 0.40000 |
| 24 | 7: 2-7 0.34000 1-7 0.19000 0-7 0.16000 5-7 0.28000 4-7 0.37000 |
| 25 | */ |
| 26 | // println!("{}", graph.to_string()); |
| 27 | } |
| 28 | |
| 29 | #[allow(non_snake_case)] |
| 30 | #[test] |
no test coverage detected