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

Тесты для массива #21

Open
redb0 opened this issue Oct 25, 2022 · 0 comments
Open

Тесты для массива #21

redb0 opened this issue Oct 25, 2022 · 0 comments
Labels
good first issue Good for newcomers tests

Comments

@redb0
Copy link
Owner

redb0 commented Oct 25, 2022

В практической работе №1 добавить следующие тесты для массива:

  1. Метод remove (тест на удаление именно первого вхождения):
  • входные данные: [1, 2, 3, 2, 1, 2], удаляется 2
  • результат: [1, 3, 2, 1, 2]
  1. Создание массива без инициализации:
  • тест на создание массива только с указанием типа данных, без передачи коллекции для инициализации
  1. Тест на дробный индекс в __setitem__ - должен возбуждать исключение TypeError
@redb0 redb0 added good first issue Good for newcomers tests labels Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers tests
Projects
None yet
Development

No branches or pull requests

1 participant