from pysal.model.spvcm import both_levels as M
from pysal.model.spvcm.tests.utils import Model_Mixin
from pysal.model.spvcm.abstracts import Trace
import unittest as ut
import pandas as pd
from .make_data import FULL_PATH

class Test_SMASE(ut.TestCase, Model_Mixin):
    def setUp(self):
        super(Test_SMASE, self).build_self()
        self.cls = M.SMASE
        self.inputs['n_samples'] = 0
        self.instance = self.cls(**self.inputs)
        self.answer_trace = Trace.from_csv(FULL_PATH + '/data/smase.csv')
