[DBG] integrate test advice in indicator
@@ -20,6 +20,7 @@ class TestIndicator(unittest.TestCase):
n_row,n_col = X.shape
self.assertEqual(n_row,10)
self.assertEqual(n_col,5)
+ self.assertEqual(X[0,0],0)
def test_identity_pos(self):
a = np.array(range(0,5))
@@ -28,6 +29,7 @@ class TestIndicator(unittest.TestCase):
n_row,n_col = X.shape
self.assertEqual(n_row,10)
self.assertEqual(n_col,4)
+ self.assertEqual(X[0,0],0)
def test_allpairs(self):
a = np.array(range(0,5))
@@ -35,6 +37,7 @@ class TestIndicator(unittest.TestCase):
n_row,n_col = X.shape
self.assertEqual(n_row,10)
self.assertEqual(n_col,5)
+ self.assertEqual(X[0,0],0)
if __name__ == '__main__':
unittest.main()
