Further fine-tune adaptive padding

This commit is contained in:
Mark Tolmacs 2025-04-13 13:08:22 +02:00
parent eaa869620e
commit c06b78c1b2
2 changed files with 6 additions and 6 deletions

View file

@ -294,11 +294,11 @@ describe("elbow arrow ui", () => {
) as HTMLInputElement;
UI.updateInput(inputAngle, String("40"));
expect(arrow.points.map((point) => point.map(Math.round))).toEqual([
expect(arrow.points).toCloselyEqualPoints([
[0, 0],
[34, 0],
[34, 165],
[104, 165],
[34.9292, 0],
[34.48768, 164.6246],
[104.333, 164.6246],
]);
});