Added test for nested FlatBuffers functionality.

Also fixed that the parsing test wasn't calling the buffer
testing function.

Change-Id: I5baae071bf0832c7797b4ef1d19d9b015e3ff5bc
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen
2017-06-02 11:26:37 -07:00
parent 43611fcc0b
commit dd05f3249a
2 changed files with 61 additions and 6 deletions

View File

@@ -6,8 +6,8 @@
test1: 3,
test2: Green,
test3: {
a: 5,
b: 6
a: 10,
b: 20
}
},
hp: 80,
@@ -17,7 +17,12 @@
1,
2,
3,
4
4,
5,
6,
7,
8,
9
],
test_type: Monster,
test: {
@@ -34,8 +39,22 @@
}
],
testarrayofstring: [
"test1",
"test2"
"bob",
"fred",
"bob",
"fred"
],
testarrayoftables: [
{
hp: 1000,
name: "Barney"
},
{
name: "Fred"
},
{
name: "Wilma"
}
],
testhashs32_fnv1: -579221183,
testhashu32_fnv1: 3715746113,