<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def advantage_as_result(self, move, val_scheme):
 """ Calculates advantage after move is played :type: move: Move :type: val_scheme: PieceValues :rtype: double """

        test_board = cp(self)
        test_board.update(move)
        return test_board.material_advantage(move.color, val_scheme)