Skip to content

Conversation

keiravillekode
Copy link
Contributor

No description provided.

Copy link
Contributor

github-actions bot commented Sep 6, 2025

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.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

-- ==
-- entry: test_create
-- input { 2 2 }
-- auto output
-- output { true }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Previously, something like

let create (row: i32) (column: i32): Queen =
  assert (row >= 0 && row <= 7 && column >= 0 && column <= 7) { row=column, column=row }

would pass the test as we were not requiring the test_create return value be true.

@keiravillekode keiravillekode merged commit 885812c into exercism:main Sep 6, 2025
4 checks passed
@keiravillekode keiravillekode deleted the generate-queen-attack branch September 6, 2025 18:15
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.

2 participants