Esempio n. 1
0
 def test_dsq_tie(self):
     points = scores.calc_league_points(tie2_pos, tie2_dsq)
     util.assertEqual(tie2_points, points, "Wrong points")
Esempio n. 2
0
 def test_tie(self):
     points = scores.calc_league_points(tie1_pos, [])
     util.assertEqual(tie1_points, points, "Wrong points")
Esempio n. 3
0
 def test_simple(self):
     points = scores.calc_league_points(simple_pos, [])
     util.assertEqual(simple_points, points, "Wrong points")
Esempio n. 4
0
	def test_dsq_tie(self):
		points = scores.calc_league_points(tie2_pos, tie2_dsq)
		util.assertEqual(tie2_points, points, "Wrong points")
Esempio n. 5
0
	def test_tie(self):
		points = scores.calc_league_points(tie1_pos, [])
		util.assertEqual(tie1_points, points, "Wrong points")
Esempio n. 6
0
	def test_simple(self):
		points = scores.calc_league_points(simple_pos, [])
		util.assertEqual(simple_points, points, "Wrong points")