@@ -0,0 +1,1293 @@
+import numpy as np%0Afrom typhon.spareice import Array, GroupedArrays%0Aimport xarray as xr%0A%0A%0Aclass TestArray:%0A    %22%22%22Testing the array methods.%22%22%22%0A    pass%0A%0A%0Aclass TestGroupedArrays:%0A    %22%22%22Testing the GroupedArrays methods.%22%22%22%0A%0A    def test_dict(self):%0A        # TODO: Implement test for export to / import from python dictionary%0A        # TODO: objects%0A        pass%0A%0A    def test_equal(self):%0A        a = GroupedArrays()%0A        a%5B%22group1/group2/data%22%5D = np.arange(1, 100).astype(float)%0A        a%5B%22group1/data%22%5D = np.arange(1, 10).astype(float)%0A        a%5B%22data%22%5D = np.arange(-30, 10).astype(float)%0A%0A        # Check whether it does find equality:%0A        assert a == a%0A%0A        # Check whether it does find inequality because the variables have%0A        # different lengths:%0A        assert a != a%5B:5%5D%0A%0A        # Check whether it does find inequality because a variable's content is%0A        # different but has the same length:%0A        b = a.copy()%0A        b%5B%22data%22%5D = np.arange(-20, 20).astype(float)%0A        assert a != b%0A%0A        # Check whether it does find inequality (if one variable does not exist%0A        # in the other group):%0A        del b%5B%22data%22%5D%0A        assert a != b%0A%0A    def test_xarray(self):%0A        # TODO: Implement test for export to / import from xarray.Dataset%0A        pass%0A%0A%0A

Implement test class for Array and GroupedArrays