22 lines
541 B
Cheetah
22 lines
541 B
Cheetah
mod TEST_NAME_HERE {
|
|
const TEST_NAME: &str = "TEST_NAME_HERE";
|
|
|
|
/// 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, RENDER_TO_PNG).await
|
|
}
|
|
}
|