From 8ab6cdc181e8117132e82f7bd41abdae8f6d5fe0 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:30:51 +0200 Subject: [PATCH] Fixed usages of tuple. --- wiggle-sort-ii/tests.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wiggle-sort-ii/tests.cpp b/wiggle-sort-ii/tests.cpp index 824437a..9a56cd5 100644 --- a/wiggle-sort-ii/tests.cpp +++ b/wiggle-sort-ii/tests.cpp @@ -44,10 +44,10 @@ INSTANTIATE_TEST_SUITE_P( KthLargestInArrayTests, KthLargestInArrayTest, ::testing::Values( - std::tuple({ 1, 2, 3 }), - std::tuple({ 3, 1 }), - std::tuple({ 1 }), - std::tuple({ 1, 5, 1, 1, 6, 4 }), - std::tuple({ 1, 3, 2, 2, 3, 1 }) + std::make_tuple({ 1, 2, 3 }), + std::make_tuple({ 3, 1 }), + std::make_tuple({ 1 }), + std::make_tuple({ 1, 5, 1, 1, 6, 4 }), + std::make_tuple({ 1, 3, 2, 2, 3, 1 }) ) ); \ No newline at end of file