Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task01 #5

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

task01 #5

wants to merge 5 commits into from

Conversation

dfsavffc
Copy link
Contributor

No description provided.

@dfsavffc dfsavffc changed the title test task01 Feb 10, 2024
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));
проверил работает, и никаких лишних скобочек)

task_01/src/utils.cpp Outdated Show resolved Hide resolved
task_01/src/utils.cpp Outdated Show resolved Hide resolved
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