def test_RetinaCodingViewConverter(self):
        view_converter = RetinaCodingViewConverter((96, 96, 2), (8, 4, 2, 2))
        image = np.random.rand(1, 96, 96, 2)
        design_mat = view_converter.topo_view_to_design_mat(image)
        reconstruct = view_converter.design_mat_to_topo_view(design_mat)
        np.testing.assert_allclose(view_converter.topo_view_to_design_mat(
                                   reconstruct), design_mat)
Test to see if the RetinaCodingViewConverter loads using the
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/tests/test_retina.py/test_retina.test_RetinaCodingViewConverter