diff --git a/algos/infinite-grid-ijump-astar/tests/__snapshots__/intersection-with-margin.snap.svg b/algos/infinite-grid-ijump-astar/tests/__snapshots__/intersection-with-margin.snap.svg index a860000..07bb5de 100644 --- a/algos/infinite-grid-ijump-astar/tests/__snapshots__/intersection-with-margin.snap.svg +++ b/algos/infinite-grid-ijump-astar/tests/__snapshots__/intersection-with-margin.snap.svg @@ -9,4 +9,4 @@ .pcb-silkscreen-top { stroke: #f2eda1; } .pcb-silkscreen-bottom { stroke: #f2eda1; } .pcb-silkscreen-text { fill: #f2eda1; } - X0t1_iter[0]X01t1_iter[1]X01t1_iter[2]X01t1_iter[3] \ No newline at end of file + X0t1_iter[0] \ No newline at end of file diff --git a/algos/infinite-grid-ijump-astar/tests/intersection-with-margin.test.tsx b/algos/infinite-grid-ijump-astar/tests/intersection-with-margin.test.tsx index 60fc676..19f3a2f 100644 --- a/algos/infinite-grid-ijump-astar/tests/intersection-with-margin.test.tsx +++ b/algos/infinite-grid-ijump-astar/tests/intersection-with-margin.test.tsx @@ -8,14 +8,30 @@ import { translate } from "transformation-matrix" import type { AnySoupElement } from "@tscircuit/soup" import { getDebugSvg } from "./fixtures/get-debug-svg" +const OneByOnePad = (props: { name: string; pcbX?: number; pcbY?: number }) => ( + + + + + +) + test("ijump-astar: intersection with margin", () => { const circuit = new Circuit() circuit.add( - - - + + + + , )