mirror of https://codeberg.org/topola/topola.git
chore: run cargo fmt
This commit is contained in:
parent
422d1fe65c
commit
07f5398ef0
|
|
@ -174,14 +174,11 @@ pub fn assert_single_layer_groundless_autoroute(
|
||||||
|
|
||||||
if let Some(netname) = autorouter.board().layout().rules().net_netname(net) {
|
if let Some(netname) = autorouter.board().layout().rules().net_netname(net) {
|
||||||
// We don't route ground.
|
// We don't route ground.
|
||||||
let mut org = unionfind.find(origin_dot.petgraph_index());
|
let mut org = unionfind.find(origin_dot.petgraph_index());
|
||||||
let mut desc = unionfind.find(destination_dot.petgraph_index());
|
let mut desc = unionfind.find(destination_dot.petgraph_index());
|
||||||
|
|
||||||
if netname != "GND" {
|
if netname != "GND" {
|
||||||
assert_eq!(
|
assert_eq!(org, desc);
|
||||||
org,
|
|
||||||
desc
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,6 @@ fn test_smd_non_rectangular_buck_converter() {
|
||||||
"tests/single_layer/smd_non_rectangular_buck_converter/route_all.cmd",
|
"tests/single_layer/smd_non_rectangular_buck_converter/route_all.cmd",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
let (mut autorouter, ..) = invoker.dissolve();
|
let (mut autorouter, ..) = invoker.dissolve();
|
||||||
|
|
||||||
common::assert_single_layer_groundless_autoroute(&mut autorouter, "F.Cu");
|
common::assert_single_layer_groundless_autoroute(&mut autorouter, "F.Cu");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue