def test_gdal_order_list(self): truth_affine_obj = Affine(0.5, 0.0, 733601.0, 0.0, -0.5, 3725139.0) gdal_affine_list = [733601.0, 0.5, 0.0, 3725139.0, 0.0, -0.5] test_affine = list_to_affine(gdal_affine_list) assert truth_affine_obj == test_affine
def test_rasterio_order_list(self): truth_affine_obj = Affine(0.5, 0.0, 733601.0, 0.0, -0.5, 3725139.0) affine_list = [0.5, 0.0, 733601.0, 0.0, -0.5, 3725139.0] test_affine = list_to_affine(affine_list) assert truth_affine_obj == test_affine