Skip to content

Commit

Permalink
Cover more codes
Browse files Browse the repository at this point in the history
  • Loading branch information
EFanZh committed Aug 19, 2024
1 parent 362ac4f commit d9c8d23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/problem_1938_maximum_genetic_difference_query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ mod tests {
(&[-1, 0, 0, 0, 3], &[[4, 6], [0, 0], [0, 3], [1, 8], [4, 0]]),
&[6, 0, 3, 9, 4],
),
(
(&[2, -1, 1, 4, 1], &[[1, 10], [2, 11], [0, 9], [1, 8], [1, 2]]),
&[11, 10, 11, 9, 3],
),
];

for ((parents, queries), expected) in test_cases {
Expand Down

0 comments on commit d9c8d23

Please sign in to comment.