Skip to content

task01#5

Open
dfsavffc wants to merge 5 commits intoAlgorithmsDafeMipt2024:mainfrom
dfsavffc:task01
Open

task01#5
dfsavffc wants to merge 5 commits intoAlgorithmsDafeMipt2024:mainfrom
dfsavffc:task01

Conversation

@dfsavffc
Copy link
Contributor

No description provided.

@dfsavffc dfsavffc changed the title test task01 Feb 10, 2024
std::vector<int> test_arr_3 = {};
TEST(TopologySort, Simple) {
ASSERT_EQ(1, 1); // Stack []
ASSERT_EQ(FindSummands(test_arr_1, 7), (std::pair<int, int>{2, 5}));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASSERT_EQ(std::vector{1, 2, 3, 4, 5, 7, 8, 12}, std::make_pair<int, int>(2, 5));

Copy link
Contributor

@LostPointer LostPointer Mar 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASSERT_EQ(FindSummands(std::vector<int>{1, 2, 3, 4, 5, 7, 8, 12}, 7), std::make_pair(2, 5));
проверил работает, и никаких лишних скобочек)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants