From 9a9983466ada9949b0ea2e9f190e4346ec9e8ab3 Mon Sep 17 00:00:00 2001 From: EFanZh Date: Mon, 9 Dec 2024 18:56:58 +0800 Subject: [PATCH] Cover more codes --- .../mod.rs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/problem_2328_number_of_increasing_paths_in_a_grid/mod.rs b/src/problem_2328_number_of_increasing_paths_in_a_grid/mod.rs index 0753b8d1..23b8bdb9 100644 --- a/src/problem_2328_number_of_increasing_paths_in_a_grid/mod.rs +++ b/src/problem_2328_number_of_increasing_paths_in_a_grid/mod.rs @@ -10,7 +10,20 @@ mod tests { use crate::test_utilities::Matrix; pub fn run() { - let test_cases = [(&[[1, 1], [3, 4]] as &dyn Matrix<_>, 8), (&[[1], [2]], 3)]; + let test_cases = [ + (&[[1, 1], [3, 4]] as &dyn Matrix<_>, 8), + (&[[1], [2]], 3), + ( + &[[ + 12469, 18741, 68716, 30594, 65029, 44019, 92944, 84784, 92781, 5655, 43120, 81333, 54113, 88220, + 23446, 6129, 2904, 48677, 20506, 79604, 82841, 3938, 46511, 60870, 10825, 31759, 78612, 19776, + 43160, 86915, 74498, 38366, 28228, 23687, 40729, 42613, 61154, 22726, 51028, 45603, 53586, 44657, + 97573, 61067, 27187, 4619, 6135, 24668, 69634, 24564, 30255, 51939, 67573, 87012, 4106, 76312, + 28737, 7704, 35798, + ]], + 148, + ), + ]; for (grid, expected) in test_cases { assert_eq!(S::count_paths(grid.to_vec()), expected);