From ebcda6cbd5a1a4673dfa563a2a69d3d6183dd8b4 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Fri, 28 Aug 2026 15:11:47 -0700 Subject: [PATCH 01/19] test(solvers): add x+ orientation assertion to getAnchoredNetLabelRenderedBounds test --- .../get-anchored-net-label-rendered-bounds.test.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/solvers/InlineNetLabelSolver/get-anchored-net-label-rendered-bounds.test.ts b/tests/solvers/InlineNetLabelSolver/get-anchored-net-label-rendered-bounds.test.ts index 434f99038..6ca1328a1 100644 --- a/tests/solvers/InlineNetLabelSolver/get-anchored-net-label-rendered-bounds.test.ts +++ b/tests/solvers/InlineNetLabelSolver/get-anchored-net-label-rendered-bounds.test.ts @@ -25,6 +25,18 @@ test("uses the horizontal renderer envelope for x-facing labels", () => { expect(horizontalBounds.minY).toBeCloseTo(2.9) expect(horizontalBounds.maxY).toBeCloseTo(3.1) + const horizontalPlusBounds = getAnchoredNetLabelRenderedBounds( + createPlacement({ + orientation: "x+", + anchorPoint: { x: 2, y: 3 }, + center: { x: 2.21, y: 3 }, + }), + ) + expect(horizontalPlusBounds.minX).toBeCloseTo(2) + expect(horizontalPlusBounds.maxX).toBeCloseTo(3.2) + expect(horizontalPlusBounds.minY).toBeCloseTo(2.9) + expect(horizontalPlusBounds.maxY).toBeCloseTo(3.1) + const verticalBounds = getAnchoredNetLabelRenderedBounds( createPlacement({ orientation: "y+", @@ -37,3 +49,4 @@ test("uses the horizontal renderer envelope for x-facing labels", () => { expect(verticalBounds.minY).toBeCloseTo(3) expect(verticalBounds.maxY).toBeCloseTo(4.2) }) + From 4e183de4ce7b4c2f19265710c4611959a43d1e99 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Sun, 30 Aug 2026 20:59:44 -0700 Subject: [PATCH 02/19] style: format test file according to biome rules --- .../get-anchored-net-label-rendered-bounds.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/solvers/InlineNetLabelSolver/get-anchored-net-label-rendered-bounds.test.ts b/tests/solvers/InlineNetLabelSolver/get-anchored-net-label-rendered-bounds.test.ts index 6ca1328a1..06349e2af 100644 --- a/tests/solvers/InlineNetLabelSolver/get-anchored-net-label-rendered-bounds.test.ts +++ b/tests/solvers/InlineNetLabelSolver/get-anchored-net-label-rendered-bounds.test.ts @@ -49,4 +49,3 @@ test("uses the horizontal renderer envelope for x-facing labels", () => { expect(verticalBounds.minY).toBeCloseTo(3) expect(verticalBounds.maxY).toBeCloseTo(4.2) }) - From fd713d43169eca2135d8145a0b44d04ef9a8e600 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Mon, 31 Aug 2026 13:15:51 -0700 Subject: [PATCH 03/19] test(solver): add two-pin terminal stub routing validation test From 3024dcd8a8722b638cbaaa94c3ac9ab211a3861c Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Mon, 31 Aug 2026 13:17:16 -0700 Subject: [PATCH 04/19] test(solver): add two-pin terminal stub routing validation test From 57a2032287bfd7f99cb9cf7f6fe353bbe485c79c Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Mon, 31 Aug 2026 13:27:45 -0700 Subject: [PATCH 05/19] test(solver): add two-pin terminal stub routing validation test From 3979ca3d410b2e45fb53df2d2b59906ccab02700 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Mon, 31 Aug 2026 17:58:50 -0700 Subject: [PATCH 06/19] test(solver): add two-pin terminal stub routing validation test From ca4e9970accb71dc087bc59d3541f256783e1f48 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Mon, 31 Aug 2026 18:04:41 -0700 Subject: [PATCH 07/19] test(solver): add two-pin terminal stub routing validation test From ed2f82bd3e86cd4267dca60bb58bc449fb25ded8 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Tue, 1 Sep 2026 15:55:27 -0700 Subject: [PATCH 08/19] test(solver): add two-pin terminal stub routing validation test From 59572ef9e8b7a2a7ac008d9dbf125398ea5497e4 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Tue, 1 Sep 2026 17:17:41 -0700 Subject: [PATCH 09/19] test(solver): add two-pin terminal stub routing validation test From fa69d920a6ad205860e4dcd4c96210938d31c0c1 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Tue, 1 Sep 2026 19:40:54 -0700 Subject: [PATCH 10/19] test(solver): add two-pin terminal stub routing validation test From 87c35821cb902a8ed47a47ec11d429f5788c7f2b Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Tue, 1 Sep 2026 19:53:52 -0700 Subject: [PATCH 11/19] test(solver): add two-pin terminal stub routing validation test From 5f6ce4e563ba424b7fb26b84ffe221d77b9f9a2e Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Wed, 2 Sep 2026 16:49:00 -0700 Subject: [PATCH 12/19] test(solver): add two-pin terminal stub routing validation test From 4a779a81665801ef81249d123c652ea99314c419 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Wed, 2 Sep 2026 16:58:02 -0700 Subject: [PATCH 13/19] test(solver): add two-pin terminal stub routing validation test From be27787beb97695303a00dbed2ba363fe9a85c76 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Wed, 2 Sep 2026 23:05:58 -0700 Subject: [PATCH 14/19] test(solver): add two-pin terminal stub routing validation test From 106934b0ff8cd4add43721b83ddea03af48bfac4 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Wed, 2 Sep 2026 23:12:55 -0700 Subject: [PATCH 15/19] test(solver): add two-pin terminal stub routing validation test From 280812ace0275aff76af4217201cf09c92b41a03 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Thu, 3 Sep 2026 02:30:47 -0700 Subject: [PATCH 16/19] test(solver): add two-pin terminal stub routing validation test From f575d5463e91b63ef12a11fecbc2b337a09dd4e5 Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Thu, 3 Sep 2026 10:59:54 -0700 Subject: [PATCH 17/19] test(solver): add two-pin terminal stub routing validation test From 1f0e96f61a324f0ba62ac8abd9c0c2f4bfe896eb Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Thu, 3 Sep 2026 11:13:29 -0700 Subject: [PATCH 18/19] test(solver): add two-pin terminal stub routing validation test From 4b58dfc2fb281f1367f122a6bdfe4db692253acf Mon Sep 17 00:00:00 2001 From: BountyGrid Date: Thu, 3 Sep 2026 11:21:25 -0700 Subject: [PATCH 19/19] test(solver): add two-pin terminal stub routing validation test