Example #1
0
 def populate_block(self,sudoku,location,limit):
     t = Tools()
     locations = t.r_locations([1,2,3,4,5,6,7,8,9],limit)
     if location == 0:
         pass
     elif location == 1:
         pass
     else:
         pass
Example #2
0
 def test_tools_r_locations(self):
     tool = Tools()
     print tool.r_locations([1,2,3,4,5,6,7,8,9],4)
Example #3
0
 def test_tools_r(self):
     tool = Tools()
     kkk = 0
     while kkk < 8:
         print tool.r([1,2,3,4,5,6,7,8,9])
         kkk += 1