Skip to content

exercises(queen-attack): remove input validation tests - #335

Closed
ee7 wants to merge 8 commits into
exercism:mainfrom
ee7:exercises-queen-attack-overhaul
Closed

ee7 wants to merge 8 commits into
exercism:mainfrom
ee7:exercises-queen-attack-overhaul

Conversation

@ee7

@ee7 ee7 commented Sep 21, 2023 •

Copy link
Copy Markdown
Member

Remove QueenError and the input validation tests. They weren't interesting - there's no good reason for init params to be i8 when the valid range is between 0 and 7 inclusive.

This PR will break everybody's solution, but I think that's worthwhile.

Closes: #223
Refs: #229


To-do:

  • Check whether we should add an .append file that explains how to assert

@ee7 ee7 self-assigned this Oct 5, 2023

@kotp kotp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is an old patch, but I am happy to approve once the conflict is resolved, if this is still the direction we want to go (no error handling).

@IsaacG

IsaacG commented Oct 29, 2026

Copy link
Copy Markdown
Member

@booniepepper Are you still interested in this or should this be closed out as abandoned?

@IsaacG

IsaacG commented Nov 3, 2026

Copy link
Copy Markdown
Member

@booniepepper Ping?

@IsaacG

IsaacG commented Nov 4, 2026

Copy link
Copy Markdown
Member

+cc @ee7 @exercism/zig

@keiravillekode

Copy link
Copy Markdown
Contributor

reimplementing in #594

keiravillekode added a commit to keiravillekode/zig that referenced this pull request Nov 11, 2026
We now use u3, so coordinates outside 0..7 are not possible.

from ee7 exercism#335
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.

exercises(queen-attack): consider removing test for negative row/col, and support u3 fields

5 participants