It shows all kids that just because a code works does not mean it is correct. It is possible to create all kinds of code, even the ones that reproduce the wrong answers someone made. If you have a board at home, set up test number 10 and check the valid positions.
And that's the problem with using code to verify code (For people dreaming of complete automation), we can only guarantee that our code has the same errors as the original code, not that the original code is correct.
Group
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
It shows all kids that just because a code works does not mean it is correct. It is possible to create all kinds of code, even the ones that reproduce the wrong answers someone made. If you have a board at home, set up test number 10 and check the valid positions.
And that's the problem with using code to verify code (For people dreaming of complete automation), we can only guarantee that our code has the same errors as the original code, not that the original code is correct.