use std::{fs::File, io::{BufReader,Result}}; /// Wrapper function to setup required data for integration tests of data module /// pub fn setup_yn_answer() -> Result> { let test_file = File::open("tests/test_yes_no_answers.in")?; Ok(BufReader::new(test_file)) } pub fn setup_numeric_answer() -> Result> { let test_file = File::open("tests/test_numeric_answers.in")?; Ok(BufReader::new(test_file)) }