#[test] fn test_inputs_basic() { // extract those functions from main() to separate functions callable // like read to string and tokenise and parse // try out rei_inputs // let res = reic::project::open_project_file("rei_inputs/hello_world.rei"); // the array itself lasts for as long as the function. And we simply take a ref to it // how about no ref in the params? it just has to see an array. But then it'll need to know how big it is let res = reic::project::open_project(&[" rei_inputs/hello_world.rei" .to_string()]); println!("res = {res}"); }