Skip to content

Commit

Permalink
test: Add SSI pattern simulation test (#5379)
Browse files Browse the repository at this point in the history
* Add new SSI pattern test

* Update output since adding new test
  • Loading branch information
jtran authored Feb 13, 2025
1 parent 78b42ea commit e27e9ec
Show file tree
Hide file tree
Showing 9 changed files with 20,528 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/wasm-lib/kcl/src/simulation_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1600,6 +1600,27 @@ mod parametric {
super::execute(TEST_NAME, true).await
}
}
mod ssi_pattern {
const TEST_NAME: &str = "ssi_pattern";

/// 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
}
}
mod angled_line {
const TEST_NAME: &str = "angled_line";

Expand Down
Loading

0 comments on commit e27e9ec

Please sign in to comment.