Closed
Description
Currently, positions are represented as strings like "(2, 2)"
in the canonical data for queen-attack.
For languages where (2, 2)
is valid syntax, this seems fine - the test generator will simply be able to interpolate this string wherever it is necessary.
For those languages where it is not valid syntax, it seems like an unusual burden to force test generators for that language to parse the rank and file from the string "(2, 2)"
.
Consider changing this to an array containing two integers such as [2, 2]
or an object with explicit keys such as {"rank": 2, "file": 2}
.
Note that we don't currently decide to use true algebraic notation for these coordinates: #446, so both the rank and file should remain as numbers.