private void assertTensorModify(DoubleBinaryOperator op, Tensor init, Tensor update, Tensor expected) {
        assertEquals(expected, init.modify(op, update.cells()));
    }
Test the same computation made in various ways which are implemented with special-case optimizations
vespajlib/src/test/java/com/yahoo/tensor/TensorTestCase.java