def test_i(self): block = bm.get_block_from_matrix(self.matrix, self.dim_block, self.n_block, 2, 2) self.assertTrue(np.array_equal(block, self.i))
def test_e(self): block = bm.get_block_from_matrix(self.matrix, self.dim_block, self.n_block, 1, 1) self.assertTrue(np.array_equal(block, self.e))