mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 15:31:32 +03:00
23 lines
497 B
Rust
23 lines
497 B
Rust
use crate::{assert_satisfied, import::set_local_dir, parse_program};
|
|
|
|
#[test]
|
|
fn test_out_of_order() {
|
|
let program_bytes = include_bytes!("out_of_order.leo");
|
|
|
|
let program = parse_program(program_bytes).unwrap();
|
|
|
|
assert_satisfied(program);
|
|
}
|
|
|
|
#[test]
|
|
#[ignore]
|
|
fn test_out_of_order_with_import() {
|
|
set_local_dir();
|
|
|
|
let program_bytes = include_bytes!("out_of_order_with_import.leo");
|
|
|
|
let program = parse_program(program_bytes).unwrap();
|
|
|
|
assert_satisfied(program);
|
|
}
|