...

Text file src/github.com/google/flatbuffers/tests/monsterdata_test.golden

Documentation: github.com/google/flatbuffers/tests

     1{
     2  pos: {
     3    x: 1.0,
     4    y: 2.0,
     5    z: 3.0,
     6    test1: 3.14159265359,
     7    test2: "Green",
     8    test3: {
     9      a: 10,
    10      b: 20
    11    }
    12  },
    13  hp: 80,
    14  name: "MyMonster",
    15  inventory: [
    16    0,
    17    1,
    18    2,
    19    3,
    20    4,
    21    5,
    22    6,
    23    7,
    24    8,
    25    9
    26  ],
    27  test_type: "Monster",
    28  test: {
    29    name: "Fred"
    30  },
    31  test4: [
    32    {
    33      a: 10,
    34      b: 20
    35    },
    36    {
    37      a: 30,
    38      b: 40
    39    }
    40  ],
    41  testarrayofstring: [
    42    "bob",
    43    "fred",
    44    "bob",
    45    "fred"
    46  ],
    47  testarrayoftables: [
    48    {
    49      hp: 1000,
    50      name: "Barney"
    51    },
    52    {
    53      name: "Fred"
    54    },
    55    {
    56      name: "Wilma"
    57    }
    58  ],
    59  testnestedflatbuffer: {
    60    name: "NestedMonster"
    61  },
    62  testbool: true,
    63  testhashs32_fnv1: -579221183,
    64  testhashu32_fnv1: 3715746113,
    65  testhashs64_fnv1: 7930699090847568257,
    66  testhashu64_fnv1: 7930699090847568257,
    67  testhashs32_fnv1a: -1904106383,
    68  testhashu32_fnv1a: 2390860913,
    69  testhashs64_fnv1a: 4898026182817603057,
    70  testhashu64_fnv1a: 4898026182817603057,
    71  flex: 1234,
    72  test5: [
    73    {
    74      a: 10,
    75      b: 20
    76    },
    77    {
    78      a: 30,
    79      b: 40
    80    }
    81  ]
    82}

View as plain text