@@ -0,0 +1,1185 @@
+#!/usr/bin/env python%0A# coding: utf-8%0A%0Afrom __future__ import absolute_import%0A%0Afrom unittest import TestCase%0Afrom nose.tools import ok_, eq_%0Afrom deformable_supervised_nmf import DeformableSupervisedNMF%0Aimport numpy as np%0A%0Aclass DeformableSupervisedNmfTestCase(TestCase):%0A    def setUp(self):%0A        self.x = np.sin(np.linspace(0, 8, 100))%0A%0A    def tearDown(self):%0A        pass%0A%0A    def test_init(self):%0A        ok_(%0A            DeformableSupervisedNMF(supervised_components_list=%5B5,10%5D, unknown_componets=5,%0A                                    supervised_max_iter_list=%5B10%5D*2, unknown_max_iter=10,%0A                                    eta=0.01, mu_list=%5B0.01, 0.01, 0.01, 0.01%5D, X_list=%5Bself.x, self.x%5D)%0A        )%0A%0A    def test_fit(self):%0A        sdim = 5%0A        udim = 10%0A        dsnmf = DeformableSupervisedNMF(supervised_components_list=%5Bsdim%5D, unknown_componets=udim,%0A                                        supervised_max_iter_list=%5B10%5D, unknown_max_iter=10,%0A                                        eta=0.01, mu_list=%5B0.01, 0.01, 0.01, 0.01%5D, X_list=%5Bself.x%5D)%0A        eq_(dsnmf.fit_transform(self.x)%5B0%5D.shape%5B0%5D, sdim)%0A        eq_(dsnmf.fit_transform(self.x)%5B1%5D.shape%5B0%5D, udim)%0A

Add fundamental tests.