# Path: megaman/relaxation/tests/utils.py
# def gen_data(name, opts):
#     test_data = copy.deepcopy(data[name])
#     test_dict = test_data[opts]
#     test_dict['laplacian'] = test_data['L']
#     test_dict['d'] = test_data['d']
#     return test_dict
# 
# class Bunch(object):
#     def __init__(self, adict):
#         self.__dict__.update(adict)


from megaman.relaxation import *
from functools import wraps
from .utils import gen_data, Bunch
import numpy as np
import numpy.testing
import shutil



def _regression_test(if_epsilon):
    def _test_deco(func):
        @wraps(func)
        def wrapper():
            test_dict = func()

# Path: megaman/relaxation/tests/utils.py
# def gen_data(name, opts):
#     test_data = copy.deepcopy(data[name])
#     test_dict = test_data[opts]
#     test_dict['laplacian'] = test_data['L']
#     test_dict['d'] = test_data['d']
#     return test_dict
# 
# class Bunch(object):
#     def __init__(self, adict):
#         self.__dict__.update(adict)


# Path: megaman/relaxation/tests/test_regression_test.py
from megaman.relaxation import *
from functools import wraps
from .utils import gen_data, Bunch
import numpy as np
import numpy.testing
import shutil




def _regression_test(if_epsilon):
    def _test_deco(func):
        @wraps(func)
        def wrapper():
            test_dict = func()

            var = Bunch(test_dict)