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

Fix compile error in Remote Control Competition #2338

Conversation

sanderploegsma
Copy link
Contributor

The default implementation of the TestTrack class in Remote Control Competition doesn't match the expected signature in the unit tests, causing the compilation to fail until the student updates the dummy method to match the correct signature.

It looks like this was introduced in #2283 where the unit tests were updated but the stub implementation wasn't.

Note that this is a duplicate of #2331, #2336 and #2337, but the former updates the assertions in a way that doesn't make a lot of sense, and the latter two update the stub but not the exemplar implementation nor the instructions.

Fixes #2330, #2318


Reviewer Resources:

Track Policies

The default implementation of the `TestTrack` class in Remote Control Competition doesn't match the expected signature in the unit tests, causing the compilation to fail until the student updates the dummy method to match the correct signature.
@sanderploegsma
Copy link
Contributor Author

And a side note: I don't get why this wasn't caught in CI? AFAIK the CI test job runs the unit tests on the examplar implementations, right? This should also have resulted in a compilation error, so I suspect the CI job is not 100% doing what it's supposed to do...

@sanderploegsma
Copy link
Contributor Author

Looks like @IsaacG beat me to it, so closing as duplicate of #2337

@sanderploegsma sanderploegsma deleted the fix/remote-control-competition branch August 22, 2023 20:25
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.

"Remote Control Competition" exercice: Incoherent task and test
1 participant