Tutorial: Allow add() tests on autograder submission #60
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.
Sorry to spam a bunch of PRs. I realized it would make much more sense for the autograder to allow tests for
add()
, which is part of the tutorial, rather than the note I previously put in the spec that students had to remove them before submitting.This PR provides an implementation of
add()
intutorial_buggy_impls.cpp
. It doesn't add any buggies for that function - the idea is just that students working through the tutorial won't run into an annoying error (and staff have to answer the question in lab) if students submit without removing theadd()
tests.I've updated the F24 autograder with the new
tutorial_buggy_impls.cpp
file.The 10:30AM submission here originally failed, but I reran after updating the config and it now allows
add()
tests:https://autograder.io/web/project/2668?current_tab=student_lookup¤t_student_lookup=495045