Fix mixed units assemblies to work, regardless of project settings (#5818)
* Add mixed units test * Add incorrect output * Change to always set units since old units are not accurate * Update output after fix
This commit is contained in:
@ -2224,3 +2224,24 @@ mod crazy_multi_profile {
|
||||
super::execute(TEST_NAME, true).await
|
||||
}
|
||||
}
|
||||
mod assembly_mixed_units_cubes {
|
||||
const TEST_NAME: &str = "assembly_mixed_units_cubes";
|
||||
|
||||
/// Test parsing KCL.
|
||||
#[test]
|
||||
fn parse() {
|
||||
super::parse(TEST_NAME)
|
||||
}
|
||||
|
||||
/// Test that parsing and unparsing KCL produces the original KCL input.
|
||||
#[test]
|
||||
fn unparse() {
|
||||
super::unparse(TEST_NAME)
|
||||
}
|
||||
|
||||
/// Test that KCL is executed correctly.
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn kcl_test_execute() {
|
||||
super::execute(TEST_NAME, true).await
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user