forked from knh4437/java-lotto
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[로또] - skydreamer21 #1
Open
skydreamer21
wants to merge
95
commits into
main
Choose a base branch
from
skydreamer21
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[세부사항] - 테스트 목록 1. 로또 번호의 개수가 6개가 넘어가면 예외가 발생 2. 로또 번호에 중복된 숫자가 있으면 예외가 발생 3. 올바른 범위의 숫자가 있으면 예외 발생
[세부사항] - 수정 사항 1. isInvalidRange -> BonusNumber 에서 접근해야되기 때문에 private에서 public 으로 수정
[세부사항] - 수정 사항 : 중복 유효성 검증에서 중복이 없을 때 원하는 개수를 입력받을 수 있도록 수정 - 수정 이유 : 보너스 숫자와 6자리를 중복 검사 했을 때는 7개이므로
[세부 사항] - 테스트 목록 1. 유효한 범위가 아니라면 IllegalArgumentException 오류 발생 2. 유효한 범위라면 오류를 발생시키지 않음
[세부 사항] - 테스트 목록 1. 보너스 숫자와 6자리 숫자가 중복되면 IllegalArgumentException 오류 발생
khyojun
reviewed
Nov 27, 2022
} | ||
} | ||
|
||
public void decreaseMoneyByUnit(int unit) { |
There was a problem hiding this comment.
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.