Convert old test KCL to kwargs

This commit is contained in:
Adam Chalmers
2025-01-14 14:50:03 -06:00
committed by Nick Cameron
parent fc7e6993ca
commit 141c38c92b

View File

@ -435,10 +435,10 @@ describe('testing math operators', () => {
`const part001 = startSketchOn('XY')`, `const part001 = startSketchOn('XY')`,
` |> startProfileAt([0, 0], %)`, ` |> startProfileAt([0, 0], %)`,
` |> line(end = [3, 4], tag = $seg01)`, ` |> line(end = [3, 4], tag = $seg01)`,
` |> line([`, ` |> line(end = [`,
` min(segLen(seg01), myVar),`, ` min(segLen(seg01), myVar),`,
` -legLen(segLen(seg01), myVar)`, ` -legLen(segLen(seg01), myVar)`,
`], %)`, `])`,
``, ``,
].join('\n') ].join('\n')
const mem = await exe(code) const mem = await exe(code)