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