Home
last modified time | relevance | path

Searched refs:coords2index (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_generators.py1182 corner = self.coords2index(0, 0)
1190 corner = self.coords2index(0, 0)
1195 assert self.coords2index(1, 2) in succs[corner]
1196 assert self.coords2index(2, 1) in succs[corner]
1202 this = self.coords2index(i, j)
1203 final = self.coords2index(3-i, 3-j)
1277 def coords2index(self, i, j): member in Knights
1290 c2i = self.coords2index