29 #include "gtest/gtest.h" 34 std::vector<int> v = {};
42 std::vector<int> v = {8, 4, 6, 1, 7, 2, 4};
44 ASSERT_EQ(v, std::vector<int>({1, 2, 4, 4, 6, 7, 8}));
49 std::vector<int> v_large = {8, 4, 6, 1, 7, 2, 4, 9};
50 std::vector<int> v_small = {8, 4, 6, 1, 7, 2};
56 catch (
const std::exception &e) {}
62 catch (
const std::exception &e) {}
67 std::vector<int> v = {8, 4, 6, 1, 7, 2, 4};
73 catch (
const std::exception &e) {}
#define ASSERT_FALSE(condition)
#define ASSERT_EQ(val1, val2)
TEST(apply_permutation, empty)