private void assertSmallest(String expectedCells, String tensorString) {
        Tensor tensor = Tensor.from(tensorString);
        assertEquals(expectedCells, asString(tensor.smallest(), tensor.type()));
    }
Test the same computation made in various ways which are implemented with special-case optimizations
vespajlib/src/test/java/com/yahoo/tensor/TensorTestCase.java