generated from janezicmatej/aoc-template
	fix: tests for day 9
This commit is contained in:
		@@ -78,10 +78,13 @@ mod tests {
 | 
				
			|||||||
    use super::*;
 | 
					    use super::*;
 | 
				
			||||||
    #[test]
 | 
					    #[test]
 | 
				
			||||||
    fn test_part_one() {
 | 
					    fn test_part_one() {
 | 
				
			||||||
        assert_eq!(part_one(&aoc::template::read_file("examples", 9)), None);
 | 
					        assert_eq!(
 | 
				
			||||||
 | 
					            part_one(&aoc::template::read_file("examples", 9)),
 | 
				
			||||||
 | 
					            Some(114)
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    #[test]
 | 
					    #[test]
 | 
				
			||||||
    fn test_part_two() {
 | 
					    fn test_part_two() {
 | 
				
			||||||
        assert_eq!(part_two(&aoc::template::read_file("examples", 9)), None);
 | 
					        assert_eq!(part_two(&aoc::template::read_file("examples", 9)), Some(2));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user