This commit is contained in:
2022-11-30 18:20:36 +08:00
parent b13cfa00bb
commit 72555b19e0
132 changed files with 332 additions and 334 deletions

View File

@@ -6,7 +6,7 @@ TEST(Problem16, Case1) {
vector<int> nums{-1, 2, 1, -4};
int target{1};
int o{2};
Solution solution;
S0016 solution;
EXPECT_EQ(solution.threeSumClosest(nums, target), o);
}
@@ -14,6 +14,6 @@ TEST(Problem16, Case2) {
vector<int> nums{0, 0, 0};
int target{1};
int o{0};
Solution solution;
S0016 solution;
EXPECT_EQ(solution.threeSumClosest(nums, target), o);
}