fix test setup in template
This commit is contained in:
parent
b3476976da
commit
129c4ea79d
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ fn part2(input: &[INPUT]) -> u32 {
|
|||
0
|
||||
}
|
||||
|
||||
#[cgf(test)]
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
const INPUT: &str = "";
|
||||
|
@ -26,12 +26,12 @@ mod test {
|
|||
fn part1_test() {
|
||||
let v = parse_input(INPUT);
|
||||
|
||||
assert_eq!(part1(&vm), 1);
|
||||
assert_eq!(part1(&v), 1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn part2_test() {
|
||||
let v = parse_input(INPUT);
|
||||
assert_eq!(part2(&vm), 1);
|
||||
assert_eq!(part2(&v), 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue