fix bug with order of operations (#2938)
* fix bug with order of operations Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -2472,3 +2472,25 @@ async fn serial_test_pattern_vase() {
|
||||
let result = execute_and_snapshot(code, UnitLength::Mm).await.unwrap();
|
||||
twenty_twenty::assert_image("tests/executor/outputs/pattern_vase.png", &result, 0.999);
|
||||
}
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn serial_test_order_sketch_extrude_in_order() {
|
||||
let code = include_str!("inputs/order-sketch-extrude-in-order.kcl");
|
||||
let result = execute_and_snapshot(code, UnitLength::Mm).await.unwrap();
|
||||
twenty_twenty::assert_image(
|
||||
"tests/executor/outputs/order-sketch-extrude-in-order.png",
|
||||
&result,
|
||||
0.999,
|
||||
);
|
||||
}
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn serial_test_order_sketch_extrude_out_of_order() {
|
||||
let code = include_str!("inputs/order-sketch-extrude-out-of-order.kcl");
|
||||
let result = execute_and_snapshot(code, UnitLength::Mm).await.unwrap();
|
||||
twenty_twenty::assert_image(
|
||||
"tests/executor/outputs/order-sketch-extrude-out-of-order.png",
|
||||
&result,
|
||||
0.999,
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user