Skip to content

Conversation

@mr-SlavaK
Copy link

No description provided.


TEST(intro, StringIsReversed)
{
ASSERT_EQ("desreveR", ReverseString("Reversed"));
Copy link
Collaborator

Choose a reason for hiding this comment

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

первый тест слишком сложный

return reversedStr;
}

TEST(intro, StringIsReversed)
Copy link
Collaborator

Choose a reason for hiding this comment

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

после первого простого теста, можно было добавить два теста для четного и нечетного количества букв в строке, а потом уже финальный тест. Нет гарантии, что для нечетного количества будет работать, в задании были примеры.

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