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

03 bank ocr only #33

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open

03 bank ocr only #33

wants to merge 35 commits into from

Conversation

ZakKurasov
Copy link

No description provided.

Copy link
Collaborator

@mettizik mettizik left a comment

Choose a reason for hiding this comment

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

В конечной реализации и списке тестов нету обработки отрицательных кейсов. Нет никаких претензий в плане того, что этого функционала пока нет, но в момент, когда появляются циклы, субстр и прочее (а в данном случае критерии валидности описаны в требованиях) сопутствующие негативные кейсы следует вносить в список


/*
* Decomposition:
* - CompareDigit(const Digit& a, const Digit& b) -> bool - compares two digits, and returns true if it equals
Copy link
Collaborator

Choose a reason for hiding this comment

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

Определять на этапе планирования интерфейсы функций не очень гуд - таким образом снижается эффект от очень важной фичи TDD проектирования кода исходя из потребностей. И если в данном случае, это не является проблемой в виду 4-х функций, на бОльших системах это может снижать удобство использования интерфейсов

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.

3 participants