def test_GetForm_2(self):
		header = ["Div","Date","HomeTeam","AwayTeam","FTHG","FTAG","FTR","HTHG","HTAG","HTR","HST","AST","HS","AS","WHH","B365A"]
		win = ["E0","26/03/08","Bohs","Rowfus","2","1","H","0","0","H","1","1","4","1","1.1","1.2"]
		loss = ["E0","26/03/08","Bohs","St. Pauli","0","3","H","0","1","H","1","1","4","1","1.1","1.2"]
		team = Team("Bohs")
		
		for x in xrange(0, 20):
			fixture = Fixture(header, loss)
			team.addFixture(fixture)

		result = team.getForm(5)
		self.assertTrue(result >= 0.0 and result < 0.0001)
	def test_GetForm_4(self):
		header = ["Div","Date","HomeTeam","AwayTeam","FTHG","FTAG","FTR","HTHG","HTAG","HTR","HST","AST","HS","AS","WHH","B365A"]
		win = ["E0","26/03/08","Bohs","Rowfus","2","1","H","0","0","H","1","1","4","1","1.1","1.2"]
		loss = ["E0","26/03/08","Bohs","St. Pauli","0","3","H","0","1","H","1","1","4","1","1.1","1.2"]
		team = Team("Bohs")
		
		fixture1 = Fixture(header, win)
		fixture2 = Fixture(header, loss)
		team.addFixture(fixture2)
		team.addFixture(fixture1)

		result = team.getForm(5)
		self.assertEquals(result, 0.0)