leo/compiler/tests/import/mod.rs

40 lines
785 B
Rust
Raw Normal View History

2020-06-09 04:52:35 +03:00
use crate::{integers::u32::output_one, parse_program};
2020-06-09 05:31:29 +03:00
// Import tests rely on knowledge of local directories. They should be run locally only.
#[test]
2020-06-09 05:31:29 +03:00
#[ignore]
fn test_basic() {
2020-06-09 04:52:35 +03:00
let bytes = include_bytes!("basic.leo");
let program = parse_program(bytes).unwrap();
output_one(program);
}
#[test]
2020-06-09 05:31:29 +03:00
#[ignore]
fn test_multiple() {
2020-06-09 04:52:35 +03:00
let bytes = include_bytes!("multiple.leo");
let program = parse_program(bytes).unwrap();
output_one(program);
}
#[test]
2020-06-09 05:31:29 +03:00
#[ignore]
fn test_star() {
2020-06-09 04:52:35 +03:00
let bytes = include_bytes!("star.leo");
let program = parse_program(bytes).unwrap();
output_one(program);
}
#[test]
2020-06-09 05:31:29 +03:00
#[ignore]
fn test_alias() {
2020-06-09 04:52:35 +03:00
let bytes = include_bytes!("alias.leo");
let program = parse_program(bytes).unwrap();
output_one(program);
}