mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2025-04-24 23:12:13 +00:00
22 lines
957 B
Rust
22 lines
957 B
Rust
#[test]
|
|
fn test() {
|
|
let tests = trybuild::TestCases::new();
|
|
tests.pass("tests/export_functions/arrays.rs");
|
|
tests.pass("tests/export_functions/ref_arrays.rs");
|
|
tests.pass("tests/export_functions/basic_types.rs");
|
|
tests.pass("tests/export_functions/ref_basic_types.rs");
|
|
tests.compile_fail("tests/export_functions/improper_types.rs");
|
|
|
|
tests.pass("tests/import_functions/arrays.rs");
|
|
tests.pass("tests/import_functions/ref_arrays.rs");
|
|
tests.pass("tests/import_functions/basic_types.rs");
|
|
tests.pass("tests/import_functions/ref_basic_types.rs");
|
|
tests.compile_fail("tests/import_functions/improper_types.rs");
|
|
|
|
tests.pass("tests/records/basic_structs.rs");
|
|
tests.pass("tests/records/empty_struct.rs");
|
|
tests.compile_fail("tests/records/struct_with_improper_types.rs");
|
|
tests.compile_fail("tests/records/struct_with_private_fields.rs");
|
|
tests.compile_fail("tests/records/unnamed_structs.rs");
|
|
}
|