-
Notifications
You must be signed in to change notification settings - Fork 51
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
huny.jeong 사전과제 제출합니다. #26
Open
person003333
wants to merge
18
commits into
next-step:main
Choose a base branch
from
person003333:huny.jeong
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
Computer class has an Integer List The constructor for this class generates 3 random numbers and puts them into the list
기존 랜덤 수 생성을 Set으로 진행하여 만들어진 숫자 리스트가 항상 정렬 상태인 문제가 발견되어 ArrayList에서 contains로 검사하며 숫자를 생성하도록 변경
숫자를 배열에 잘 집어넣는지 테스트
잘못된 입력을 받으면 IllegalArgumentException를 발생하도록 수정
Computer 클래스와 똑같이 numbers로 변경
User 클래스 숫자 입력 테스트 입력값이 맞다면 리스트에 넣고 입력값이 잘못됬다면 IllegalArgumentException 발생
점수를 기록하는 Score클래스
점수출력 문자열 수정
점수가 잘 입려됬는지 확인
숫자 0이 인식되던 부분 0이 입력되면 예외처리
테스트 조건 추가
테스트 조건 수정
중복 되는 테스트 구문 하나로 묶기
게임을 진행하는 서비스
게임을 시작하고 끝나면 다시 할지 물어보는 컨트롤러
필요 없는 구문 삭제
프로그램을 실행하는 main문 작성
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.