'Test model values add certain given points'

def test_eval2D(self, model_class, test_parameters):

    model = create_model(model_class, test_parameters)
    x = test_parameters[u'x_values']
    y = test_parameters[u'y_values']
    z = test_parameters[u'z_values']
    assert np.all((np.abs((model(x, y) - z)) < self.eval_error))
