Skip to content

done#306

Open
alexpogrebniy wants to merge 2 commits into
mate-academy:masterfrom
alexpogrebniy:1_branch
Open

done#306
alexpogrebniy wants to merge 2 commits into
mate-academy:masterfrom
alexpogrebniy:1_branch

Conversation

@alexpogrebniy
Copy link
Copy Markdown

No description provided.

Comment on lines +16 to +17
private static final double MIN_DOUBLE_VALUE = Double.MIN_VALUE;
private static final double MAX_DOUBLE_VALUE = Double.MAX_VALUE;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

нам тут не потрібно створювати нові константи, що дублюють існуючі. Можна одразу використовувати Double.MIN_VALUE;

Comment on lines +22 to +25
private static final double FIVE_POSITIVE = 5.1;
private static final double TEN_POSITIVE = 10.4;
private static final double FIVE_NEGATIVE = -5.1;
private static final double TEN_NEGATIVE = -10.4;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ці змінні разом з actual / expceted краще винести в методи і їх не потрібно робити константами

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