cpp
cpp copied to clipboard
Add tests for valid queen positions
The tests for the C++ version of this exercise do not follow the problem specification and don't validate that the position is within [0, 8).
This PR adds two tests, one verifying the row with a value < 0 and one verifying the column with a value > 7.