leo/compiler/tests/definition/mod.rs
2020-08-07 16:59:32 -07:00

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);
}