def __init__(self, params=None): """ Constructor """ if params is None: params = {"algorithm": "DEFAULT_ALGORITHM_NAME"} SudokuCommand.__init__(self, params)
def __init__(self, params=None): ''' Constructor ''' if params is None: params = {'level': 'DEFAULT_LEVEL_NAME'} SudokuCommand.__init__(self, params)
def __init__(self, params): ''' Constructor ''' SudokuCommand.__init__(self, params)
def __init__(self, params): """ Constructor """ SudokuCommand.__init__(self, params)
def test_when_a_game_is_given_then_should_be_set_the_game(self): cmd = SudokuCommand(self.readconfig_parameters) game = Game() cmd.set_game(game) self.assertEqual(game, cmd.game)