macro_rules! read_csv {
($path:expr) => { ... };
}Expand description
read_csv!() can be used to read .csv file and return Vec<Vec<String>>
use doe::*;
let s = read_csv!("./data.csv");
assert_eq!(s,vec![vec![format!("a"), format!("b"), format!("c")],vec![format!("1"), format!("2"), format!("3")],vec![format!("10"), format!("20"), format!("30")]]);