test: Fix test failures due to latest commit being botched

This commit is contained in:
Mikolaj Wielgus 2025-07-14 13:39:33 +02:00
parent 43005eb864
commit 6f1abeebd9
7 changed files with 21 additions and 21 deletions

View File

@ -122,7 +122,7 @@ pub fn assert_single_layer_groundless_autoroute(
let unionfind = unionfind(autorouter); let unionfind = unionfind(autorouter);
for ratline in autorouter.ratsnest().graph().edge_indices() { for ratline in autorouter.ratsnest().graph().edge_indices() {
let (origin_dot, destination_dot) = autorouter.ratline_endpoint_dots(ratline); let (origin_dot, destination_dot) = ratline.ref_(autorouter).endpoint_dots();
let origin_layer = autorouter let origin_layer = autorouter
.board() .board()
@ -220,7 +220,7 @@ fn unionfind(autorouter: &mut Autorouter<impl AccessMesadata>) -> UnionFind<Node
for ratline in autorouter.ratsnest().graph().edge_indices() { for ratline in autorouter.ratsnest().graph().edge_indices() {
// Accessing endpoints may create new dots because apex construction is lazy, so we access // Accessing endpoints may create new dots because apex construction is lazy, so we access
// tem all before starting unionfind, as it requires a constant index bound. // tem all before starting unionfind, as it requires a constant index bound.
let _ = autorouter.ratline_endpoint_dots(ratline); let _ = ratline.ref_(autorouter).endpoint_dots();
} }
let mut unionfind = UnionFind::new( let mut unionfind = UnionFind::new(

View File

@ -13,7 +13,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,
@ -35,7 +35,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,

View File

@ -49,7 +49,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,
@ -107,7 +107,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,
@ -165,7 +165,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,
@ -223,7 +223,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,

View File

@ -37,7 +37,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,

View File

@ -29,7 +29,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,

View File

@ -13,7 +13,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,
@ -35,7 +35,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,
@ -57,7 +57,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,
@ -79,7 +79,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,
@ -101,7 +101,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,
@ -123,7 +123,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,
@ -145,7 +145,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,
@ -167,7 +167,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,
@ -189,7 +189,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"routed_band_width": 100.0, "routed_band_width": 100.0,
"wrap_around_bands": true, "wrap_around_bands": true,

View File

@ -49,7 +49,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,
@ -71,7 +71,7 @@
} }
], ],
{ {
"presort_by_pairwise_detours": false, "presort_by": "RatlineIntersectionCountAndLength",
"router_options": { "router_options": {
"wrap_around_bands": true, "wrap_around_bands": true,
"squeeze_through_under_bends": true, "squeeze_through_under_bends": true,