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

remote-control-competition different values passed to getRankedCars #2318

Closed
Willyanto39 opened this issue Jun 7, 2023 · 2 comments
Closed

Comments

@Willyanto39
Copy link

getRankedCars method in TestTrack takes 2 ProductionRemoteControlCar but RemoteControlCarTest calls getRankedCars method by passing a list of ProductionRemoteControlCar.

@bljdavidson
Copy link

Is this a bug or are we supposed to be implementing the code for this test?

https://github.com/exercism/java/blob/main/exercises/concept/remote-control-competition/src/test/java/RemoteControlCarTest.java#L59-L91

Getting this:

List rankings = TestTrack.getRankedCars(unsortedCars);
required: ProductionRemoteControlCar,ProductionRemoteControlCar
found: List
reason: actual and formal argument lists differ in length

Required type: ProductionRemoteControlCar
Provided: List

@SleeplessByte
Copy link
Member

Fixed by #2337

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants