@@ -0,0 +1,769 @@
+import sys%0Asys.path.append('..')%0Aimport disaggregator as da%0Aimport unittest%0Aimport pandas as pd%0Aimport numpy as np%0A%0Aclass ApplianceInstanceTestCase(unittest.TestCase):%0A%0A    def setUp(self):%0A        indices = %5Bpd.date_range('1/1/2013', periods=96, freq='15T'),%0A                   pd.date_range('1/2/2013', periods=96, freq='15T')%5D%0A        data = %5Bnp.zeros(96),np.zeros(96)%5D%0A        series = %5Bpd.Series(d, index=i) for d,i in zip(data,indices)%5D%0A        self.traces = %5Bda.ApplianceTrace(s,%7B%7D) for s in series%5D%0A        self.normal_instance = da.ApplianceInstance(self.traces)%0A%0A    def test_get_traces(self):%0A        self.assertIsNotNone(self.normal_instance.get_traces(),%0A                      'instance should have traces')%0A%0Aif __name__ == %22__main__%22:%0A    unittest.main()%0A

add basic unit testing for appliance instances (incomplete)