GridEnforcer.checkClassAllowed() returns True if the passed grid follows current rules.
GridEnforcer.checkRules() returns False if the passed grid follows current rules.
I think this is a bit confusing. My preference would be to have checkRules() return True if all rules are being followed.
Currently:
GridEnforcer.checkClassAllowed()
returnsTrue
if the passed grid follows current rules.GridEnforcer.checkRules()
returnsFalse
if the passed grid follows current rules.I think this is a bit confusing. My preference would be to have
checkRules()
returnTrue
if all rules are being followed.This is very low priority.