Skip to content

Commit

Permalink
Add new expected test outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jtran committed Dec 11, 2024
1 parent 5851836 commit 0d04b6b
Show file tree
Hide file tree
Showing 53 changed files with 5,091 additions and 0 deletions.
1,926 changes: 1,926 additions & 0 deletions src/wasm-lib/kcl/tests/add_lots/ops.snap

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions src/wasm-lib/kcl/tests/angled_line/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed angled_line.kcl
snapshot_kind: text
---
[
{
"labeledArgs": {
"length": {
"sourceRange": [
260,
261,
0
]
},
"sketch_set": {
"sourceRange": [
263,
264,
0
]
}
},
"sourceRange": [
252,
265,
0
],
"stdLibFn": "extrude",
"type": "StdLibCall",
"unlabeledArg": null
}
]
6 changes: 6 additions & 0 deletions src/wasm-lib/kcl/tests/array_elem_push/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed array_elem_push.kcl
snapshot_kind: text
---
[]
6 changes: 6 additions & 0 deletions src/wasm-lib/kcl/tests/array_range_expr/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed array_range_expr.kcl
snapshot_kind: text
---
[]
6 changes: 6 additions & 0 deletions src/wasm-lib/kcl/tests/array_range_negative_expr/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed array_range_negative_expr.kcl
snapshot_kind: text
---
[]
59 changes: 59 additions & 0 deletions src/wasm-lib/kcl/tests/basic_fillet_cube_close_opposite/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed basic_fillet_cube_close_opposite.kcl
snapshot_kind: text
---
[
{
"labeledArgs": {
"length": {
"sourceRange": [
181,
183,
0
]
},
"sketch_set": {
"sourceRange": [
185,
186,
0
]
}
},
"sourceRange": [
173,
187,
0
],
"stdLibFn": "extrude",
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"data": {
"sourceRange": [
200,
275,
0
]
},
"solid": {
"sourceRange": [
277,
278,
0
]
}
},
"sourceRange": [
193,
279,
0
],
"stdLibFn": "fillet",
"type": "StdLibCall",
"unlabeledArg": null
}
]
59 changes: 59 additions & 0 deletions src/wasm-lib/kcl/tests/basic_fillet_cube_end/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed basic_fillet_cube_end.kcl
snapshot_kind: text
---
[
{
"labeledArgs": {
"length": {
"sourceRange": [
172,
174,
0
]
},
"sketch_set": {
"sourceRange": [
176,
177,
0
]
}
},
"sourceRange": [
164,
178,
0
],
"stdLibFn": "extrude",
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"data": {
"sourceRange": [
191,
264,
0
]
},
"solid": {
"sourceRange": [
266,
267,
0
]
}
},
"sourceRange": [
184,
268,
0
],
"stdLibFn": "fillet",
"type": "StdLibCall",
"unlabeledArg": null
}
]
59 changes: 59 additions & 0 deletions src/wasm-lib/kcl/tests/basic_fillet_cube_next_adjacent/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed basic_fillet_cube_next_adjacent.kcl
snapshot_kind: text
---
[
{
"labeledArgs": {
"length": {
"sourceRange": [
190,
192,
0
]
},
"sketch_set": {
"sourceRange": [
194,
195,
0
]
}
},
"sourceRange": [
182,
196,
0
],
"stdLibFn": "extrude",
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"data": {
"sourceRange": [
209,
280,
0
]
},
"solid": {
"sourceRange": [
282,
283,
0
]
}
},
"sourceRange": [
202,
284,
0
],
"stdLibFn": "fillet",
"type": "StdLibCall",
"unlabeledArg": null
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed basic_fillet_cube_previous_adjacent.kcl
snapshot_kind: text
---
[
{
"labeledArgs": {
"length": {
"sourceRange": [
190,
192,
0
]
},
"sketch_set": {
"sourceRange": [
194,
195,
0
]
}
},
"sourceRange": [
182,
196,
0
],
"stdLibFn": "extrude",
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"data": {
"sourceRange": [
209,
284,
0
]
},
"solid": {
"sourceRange": [
286,
287,
0
]
}
},
"sourceRange": [
202,
288,
0
],
"stdLibFn": "fillet",
"type": "StdLibCall",
"unlabeledArg": null
}
]
59 changes: 59 additions & 0 deletions src/wasm-lib/kcl/tests/basic_fillet_cube_start/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed basic_fillet_cube_start.kcl
snapshot_kind: text
---
[
{
"labeledArgs": {
"length": {
"sourceRange": [
172,
174,
0
]
},
"sketch_set": {
"sourceRange": [
176,
177,
0
]
}
},
"sourceRange": [
164,
178,
0
],
"stdLibFn": "extrude",
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"data": {
"sourceRange": [
191,
229,
0
]
},
"solid": {
"sourceRange": [
231,
232,
0
]
}
},
"sourceRange": [
184,
233,
0
],
"stdLibFn": "fillet",
"type": "StdLibCall",
"unlabeledArg": null
}
]
33 changes: 33 additions & 0 deletions src/wasm-lib/kcl/tests/big_number_angle_to_match_length_x/ops.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
source: kcl/src/simulation_tests.rs
description: Operations executed big_number_angle_to_match_length_x.kcl
snapshot_kind: text
---
[
{
"labeledArgs": {
"length": {
"sourceRange": [
182,
184,
0
]
},
"sketch_set": {
"sourceRange": [
186,
187,
0
]
}
},
"sourceRange": [
174,
188,
0
],
"stdLibFn": "extrude",
"type": "StdLibCall",
"unlabeledArg": null
}
]
Loading

0 comments on commit 0d04b6b

Please sign in to comment.