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

도보 예상 시간 분 단위 반환하도록 수정 #79

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

youngh0
Copy link
Contributor

@youngh0 youngh0 commented Apr 29, 2024

🤔세부 내용

  • 도보 예상 시간 구하고 분 단위로 변환 후 올림 연산하도록 수정했습니다

@youngh0 youngh0 requested review from This2sho and jundonghyuk April 29, 2024 15:03
Copy link

github-actions bot commented Apr 29, 2024

Test Results

127 tests   127 ✅  11s ⏱️
 28 suites    0 💤
 28 files      0 ❌

Results for commit d1d7ebe.

♻️ This comment has been updated with latest results.

@@ -106,7 +106,8 @@ public boolean containsPayType(List<PayType> memberPayTypes) {
public int calculateWalkingTime(Location destination) {
double distance = calculateDistanceToDestination(destination);
double averageWalkingTime = distance / AVERAGE_WALKING_SPEED;
return (int) Math.ceil(averageWalkingTime);
System.out.println(averageWalkingTime);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
System.out.println(averageWalkingTime);

@youngh0 youngh0 merged commit a461384 into main Jun 4, 2024
3 checks passed
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