first, A disclaimer:
This isn't directly homework but is related to an assignment of mine
I'm building a genetic algorithm to solve the queen placement problem, the complicated stuff I can do on my own, but I'm not getting one part.
suppose the queen is on a square, I can check that it is in th
Thanks for the input from everyone,I had been working with a flat array and checking the horizontals and verticals with slices and mod math but I think the tuple approach would be pretty easy to change to use.
I can't ever recall being interested in a test from a test suite but my interest is pique