use std::{error::Error, path::Path}; use test_utils::{check_compilation, Expected}; const SRC_PATH: &str = "./examples/printi.why"; const EXPECTED: Expected = Expected { stdout: "3 17 42 13 69 4", stderr: "", }; #[test] fn compile_and_run_printi() -> Result<(), Box> { check_compilation(Path::new(SRC_PATH), EXPECTED) }