예제 #1
0
 def test_posn_sum10(self):
     self.assertEqual(convergence.posn_sum(array2, posn4), (0, 0))
예제 #2
0
 def test_posn_sum7(self):
     self.assertEqual(convergence.posn_sum(array2, posn2), (0, 1))
예제 #3
0
 def test_posn_sum8(self):
     self.assertEqual(convergence.posn_sum(array2, posn6), (25, 5))
예제 #4
0
 def test_posn_sum6(self):
     self.assertEqual(convergence.posn_sum(array2, posn1), (10, 3))
예제 #5
0
 def test_posn_sum5(self):
     self.assertEqual(convergence.posn_sum(array1, posn7), (3, 1))
예제 #6
0
 def test_posn_sum4(self):
     self.assertEqual(convergence.posn_sum(array1, posn6), (11, 4))
예제 #7
0
 def test_posn_sum3(self):
     self.assertEqual(convergence.posn_sum(array1, posn5), (7, 3))
예제 #8
0
 def test_posn_sum2(self):
     self.assertEqual(convergence.posn_sum(array1, posn2), (0, 0))