fix test setup in template

This commit is contained in:
Joe Ardent 2022-12-11 10:49:33 -08:00
parent b3476976da
commit 129c4ea79d

View file

@ -17,7 +17,7 @@ fn part2(input: &[INPUT]) -> u32 {
0 0
} }
#[cgf(test)] #[cfg(test)]
mod test { mod test {
use super::*; use super::*;
const INPUT: &str = ""; const INPUT: &str = "";
@ -26,12 +26,12 @@ mod test {
fn part1_test() { fn part1_test() {
let v = parse_input(INPUT); let v = parse_input(INPUT);
assert_eq!(part1(&vm), 1); assert_eq!(part1(&v), 1);
} }
#[test] #[test]
fn part2_test() { fn part2_test() {
let v = parse_input(INPUT); let v = parse_input(INPUT);
assert_eq!(part2(&vm), 1); assert_eq!(part2(&v), 1);
} }
} }