fixed comparator for native_inline (#7076)

* fixed comparator for native_inline

* added native_inline data

* updated more tests for the new field

* more fixes
This commit is contained in:
Derek Bailey
2022-02-02 23:44:43 -08:00
committed by GitHub
parent 826193ff68
commit 39c8a19ce2
26 changed files with 937 additions and 636 deletions

View File

@@ -20,16 +20,16 @@
4
],
vector_of_longs: [
1,
100,
10000,
1000000,
100000000
1,
100,
10000,
1000000,
100000000
],
vector_of_doubles: [
-1.7976931348623157e+308,
0,
1.7976931348623157e+308
-1.7976931348623157e+308,
0,
1.7976931348623157e+308
],
test_type: "Monster",
test: {
@@ -63,8 +63,10 @@
enemy: {
name: "Fred"
},
testarrayofbools:[
true, false, true
testarrayofbools: [
true,
false,
true
],
testbool: true,
testhashs32_fnv1: "This string is being hashed!",
@@ -75,10 +77,22 @@
testhashu32_fnv1a: "This string is being hashed!",
testhashs64_fnv1a: "This string is being hashed!",
testhashu64_fnv1a: "This string is being hashed!",
testarrayofsortedstruct:[
{id:5,distance:12}, {id:1,distance:21}, {id:0,distance:45}
testarrayofsortedstruct: [
{id: 5,distance: 12
},
{id: 1,distance: 21
},
{id: 0,distance: 45
}
],
scalar_key_sorted_tables:[
{id:"hit",val:10,count:1}, {id:"miss",val:0,count:0}
scalar_key_sorted_tables: [
{id: "hit",val: 10,count: 1
},
{id: "miss",val: 0,count: 0
}
],
}
native_inline: {
a: 1,
b: 2
}
}