@Test
    public void requireThatFloatSerializationFormatDoesNotChange() {
        byte[] encodedTensor = new byte[] {7, // binary format type
                1, // float type
                1, // number of sparse dimensions
                2, (byte)'x', (byte)'y',  // name of sparse dimension
                1, // number of dense dimensions
                1, (byte)'z', 1, // name and size of dense dimension
                2, // num cells,
                2, (byte)'a', (byte)'b', 64, 0, 0, 0,  // cell 0
                2, (byte)'c', (byte)'d', 64, 64, 0, 0}; // cell 1
        Tensor tensor = Tensor.from("tensor<float>(xy{},z[1]):{{xy:ab,z:0}:2.0,{xy:cd,z:0}:3.0}");
        assertEquals(Arrays.toString(encodedTensor), Arrays.toString(TypedBinaryFormat.encode(tensor)));
    }
Tests for the mixed binary format.

@author lesters
vespajlib/src/test/java/com/yahoo/tensor/serialization/MixedBinaryFormatTestCase.java