Skip to content

Commit

Permalink
Cover more codes
Browse files Browse the repository at this point in the history
  • Loading branch information
EFanZh committed Jul 29, 2024
1 parent 99d5bdd commit 8b46c7b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/problem_0869_reordered_power_of_2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ mod tests {
(24, false),
(46, true),
(124, false),
(125, true),
(821, true),
(1_420, true),
(14_683, true),
Expand Down
9 changes: 9 additions & 0 deletions src/problem_1932_merge_bsts_to_create_single_bst/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ mod tests {
&[&[Some(1), None, Some(3)], &[Some(3), Some(1)], &[Some(4), Some(2)]],
&[],
),
(
&[
&[Some(8), None, Some(9)],
&[Some(4), None, Some(5)],
&[Some(9), Some(4)],
],
&[],
),
(&[&[Some(3), Some(1)], &[Some(1)], &[Some(2), Some(1)]], &[]),
];

for (trees, expected) in test_cases {
Expand Down
1 change: 1 addition & 0 deletions src/problem_2029_stone_game_ix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ mod tests {
],
true,
),
(&[1], false),
];

for (stones, expected) in test_cases {
Expand Down

0 comments on commit 8b46c7b

Please sign in to comment.