public static void equal(TensorAddress a, TensorAddress b) {
        assertEquals(a.hashCode(), b.hashCode());
        assertEquals(a, b);
        assertEquals(a.size(), b.size());
        for (int i = 0; i < a.size(); i++) {
            assertEquals(a.label(i), b.label(i));
            assertEquals(a.numericLabel(i), b.numericLabel(i));
        }
    }
Test for tensor address.

@author baldersheim
vespajlib/src/test/java/com/yahoo/tensor/TensorAddressTestCase.java