Skip to content

Conversation

@czertyaka
Copy link
Owner

No description provided.

@czertyaka czertyaka linked an issue Nov 28, 2023 that may be closed by this pull request
@czertyaka czertyaka self-assigned this Nov 28, 2023
@czertyaka czertyaka requested a review from Mako-D November 28, 2023 07:24
const size_t size = 5;
const int data_in[size] = {1};
int data_in[size] = {0};
std::fill_n(data_in, size, 1);
Copy link

Choose a reason for hiding this comment

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

Может для однозначности понимания теста в 87 строчке сделать также?

int data_out[size-1] = {0}
std::fill_n(data_out, size - 1, 0)

С точки зрения выполняемого кода будет одна лишняя команда, но она добавит однозначности в сам тест

Copy link

@Mako-D Mako-D left a comment

Choose a reason for hiding this comment

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

Добавил предложение для однозначности восприятия теста PopBadArgs

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.

Корректность теста PopBadArgs

3 participants