exercism / exercism/zig

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

Open
#223 0 comments 0 reactions 1 assignee Claimed by @ee7 View on GitHub
Dominant language
Zig
Stars
73
Forks
43
Avg merge
6h 33m
Merged PRs (30d)
12

Description

The valid range for `row` and `col` is from 0-7 inclusive, so it doesn't spark joy to test negative inputs, require input validation, and require the `init` method to take signed integer parameters.

Follow-up to:

- https://github.com/exercism/zig/commit/b7cd99f3db9457a2b8c14b84f70ed99b55191e06
- https://github.com/exercism/zig/commit/de5aff6c33e696116e65e67809ef0e7c299abe7d
- https://github.com/exercism/zig/commit/290e7f31ea8a521752885c94c4e771398191dfae

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.