def METHOD_NAME(self, input_param, input_data, expected_val):
    diceceloss = DiceCELoss(**input_param)
    result = diceceloss(**input_data)
    np.testing.assert_allclose(result.detach().cpu().numpy(), expected_val, atol=1e-4, rtol=1e-4)