mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-28 12:45:26 +03:00
28 lines
615 B
Rust
28 lines
615 B
Rust
use crate::{compile_program, integer::u32::output_one};
|
|
|
|
const DIRECTORY_NAME: &str = "tests/import/";
|
|
|
|
#[test]
|
|
fn test_basic() {
|
|
let program = compile_program(DIRECTORY_NAME, "basic.leo").unwrap();
|
|
output_one(program);
|
|
}
|
|
|
|
#[test]
|
|
fn test_multiple() {
|
|
let program = compile_program(DIRECTORY_NAME, "multiple.leo").unwrap();
|
|
output_one(program);
|
|
}
|
|
|
|
#[test]
|
|
fn test_star() {
|
|
let program = compile_program(DIRECTORY_NAME, "star.leo").unwrap();
|
|
output_one(program);
|
|
}
|
|
|
|
#[test]
|
|
fn test_alias() {
|
|
let program = compile_program(DIRECTORY_NAME, "alias.leo").unwrap();
|
|
output_one(program);
|
|
}
|