I tested the rule by editing the existing puzzle file to include more space for more tests. I also edited the test code accordingly while leaving comments to explain what I did. I tested if the rule didn't work if used incorrectly which it didn't, meaning that it was correct and the it worked.
Closes #(573)
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Enhancement (improvement to an already existing feature)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
How Has This Been Tested?
I made extra tests to check if the rule was correct.
Checklist:
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if applicable)
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description
I tested the rule by editing the existing puzzle file to include more space for more tests. I also edited the test code accordingly while leaving comments to explain what I did. I tested if the rule didn't work if used incorrectly which it didn't, meaning that it was correct and the it worked.
Closes #(573)
Type of change
How Has This Been Tested?
I made extra tests to check if the rule was correct.
Checklist: