Files
modeling-app/rust/kcl-lib/tests/riddle_small/unparsed.snap
Nick Cameron a7e09a89ef Improve snapshot testing (#5856)
* Improve snapshot testing

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* A snapshot a day keeps the bugs away! 📷🐛

* A snapshot a day keeps the bugs away! 📷🐛

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-19 15:06:27 -07:00

22 lines
405 B
Plaintext

---
source: kcl-lib/src/simulation_tests.rs
description: Result of unparsing riddle_small.kcl
---
ANSWER = 41803
fn t(s) {
return (ANSWER * s + 12345) % 214748
}
xs = 205804
ys = 71816
ox = 35 - (t(xs) % 70)
oy = 35 - (t(ys) % 70)
r = startSketchOn('XZ')
|> startProfileAt([ox, oy], %)
|> line(end = [1, 0])
|> line(end = [0, -1])
|> line(end = [-1, 0])
|> close(%)
|> extrude(length = 1)