kyu_8.grasshopper_messi_goals_function package

Submodules

kyu_8.grasshopper_messi_goals_function.messi_goals_function module

kyu_8.grasshopper_messi_goals_function.messi_goals_function.goals(laLiga: int, copaDelRey: int, championsLeague: int) → int[source]

The function returns Messi’s total number of goals in all three leagues: - LaLiga - Copa del Rey - Champions

Parameters
  • laLiga

  • copaDelRey

  • championsLeague

Returns

kyu_8.grasshopper_messi_goals_function.test_messi_goals_function module

class kyu_8.grasshopper_messi_goals_function.test_messi_goals_function.GoalsTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Testing goals function

test_goals()[source]

Verify that the function returns Messi’s total number of goals in all three leagues. :return:

Module contents