generated from janezicmatej/aoc-template
	chore: run cargo fmt
This commit is contained in:
		@@ -200,10 +200,16 @@ mod tests {
 | 
			
		||||
    use super::*;
 | 
			
		||||
    #[test]
 | 
			
		||||
    fn test_part_one() {
 | 
			
		||||
        assert_eq!(part_one(&aoc::template::read_file("examples", 15)), Some(10092));
 | 
			
		||||
        assert_eq!(
 | 
			
		||||
            part_one(&aoc::template::read_file("examples", 15)),
 | 
			
		||||
            Some(10092)
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
    #[test]
 | 
			
		||||
    fn test_part_two() {
 | 
			
		||||
        assert_eq!(part_two(&aoc::template::read_file("examples", 15)), Some(9021));
 | 
			
		||||
        assert_eq!(
 | 
			
		||||
            part_two(&aoc::template::read_file("examples", 15)),
 | 
			
		||||
            Some(9021)
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -91,4 +91,3 @@ pub fn part_two(input: &str) -> Option<String> {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
aoc::solution!(18);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -66,6 +66,9 @@ mod tests {
 | 
			
		||||
    }
 | 
			
		||||
    #[test]
 | 
			
		||||
    fn test_part_two() {
 | 
			
		||||
        assert_eq!(part_two(&aoc::template::read_file("examples", 19)), Some(16));
 | 
			
		||||
        assert_eq!(
 | 
			
		||||
            part_two(&aoc::template::read_file("examples", 19)),
 | 
			
		||||
            Some(16)
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user