Fix units bug with involuteCircular (#6711)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-05-06 14:58:53 +12:00
committed by GitHub
parent 9c52f5b19a
commit 9c246d6621
12 changed files with 9158 additions and 25 deletions

View File

@ -2708,3 +2708,24 @@ mod clone_w_shell {
super::execute(TEST_NAME, true).await
}
}
mod involute_circular_units {
const TEST_NAME: &str = "involute_circular_units";
/// Test parsing KCL.
#[test]
fn parse() {
super::parse(TEST_NAME)
}
/// Test that parsing and unparsing KCL produces the original KCL input.
#[tokio::test(flavor = "multi_thread")]
async fn unparse() {
super::unparse(TEST_NAME).await
}
/// Test that KCL is executed correctly.
#[tokio::test(flavor = "multi_thread")]
async fn kcl_test_execute() {
super::execute(TEST_NAME, true).await
}
}