@Test
    public void tensor_modify_update_treats_the_input_tensor_as_sparse() {
        // Note that the type of the tensor in the modify update is sparse (it only has mapped dimensions).
        assertTensorModifyUpdate("tensor(x{},y{}):{{x:0,y:0}:2.0, {x:1,y:2}:3.0}",
                                 TensorModifyUpdate.Operation.REPLACE, "dense_tensor",
                                 """
                                 {
                                   "operation": "replace",
                                   "cells": [
                                     { "address": { "x": "0", "y": "0" }, "value": 2.0 },
                                     { "address": { "x": "1", "y": "2" }, "value": 3.0 }
                                   ]
                                 }""");
    }
Tests parsing of various tensor values set at the root, i.e. no 'cells', 'blocks' or 'values'
document/src/test/java/com/yahoo/document/json/JsonReaderTestCase.java