[자동차 경주] 유우선 미션 제출합니다.#48
Open
first-woosun wants to merge 12 commits into
Open
Conversation
2회차 과제 요구사항 및 구현할 기능 목록 추가
입력받은 racer들의 이름을 나누는 함수
각 필드 및 getter를 포함한 Racer 클래스 추가
입력받은 문자열에서 쉬표를 구분자로 이름을 추출하는 함수 추가
생성자와 필드가 충종하는 현상 수정 feat: main함수 작성 이름과 수행 횟수를 입력받아 경주를 수행하는 기능 추가
racerCollection에서 최종 우승자를 판별하는 getWinner함수 추가
구현된 기능 추가에 따른 README.md파일 최신화
자동차 이름 입력값을 검증하고 잘못된 입력값이 있으면 IllegalArgumentException을 발생시키는 validateNameInput 함수 추가
문자열을 입력받아 정수인지, 양수인지를 판별하여 예외를 발생시키는 getAttemptNumber 함수 추가
getAttempNumber -> getAttemptNumber로 수정
주석이 안달린 몇 기능들에 주석 추가
음수 또는 문자열이 입력되었을 경우를 테스트하기 위한 테스트 코드 추가
This file contains hidden or 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
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.