Repository navigation
Add odd-length reverse test for list-ops - #3171
VelpulaGangavardhan wants to merge 2 commits into
Conversation
|
This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested. If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos. For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping |
|
|
||
| [fcc03d1e-42e0-4712-b689-d54ad761f360] | ||
| description = "reverse the elements of the list -> non-empty list" | ||
| description = "reverse the elements of the list -> non-empty even-length list" |
There was a problem hiding this comment.
Since the description has changed for the non-empty list, could you please also update testReversingNonEmptyList to match new description?
There was a problem hiding this comment.
Updated the existing even-length reverse test name and method to match the new description in tests.toml. I pushed the change in commit 7aab6b1 and reran .\gradlew.bat practice:list-ops:test; all tests passed.
Summary
[1, 3, 5, 7, 9, 11, 13]produces[13, 11, 9, 7, 5, 3, 1].list-opstest metadata using Configlet.Resolves #3169.
Testing
.\gradlew.bat practice:list-ops:test— BUILD SUCCESSFUL.