summaryrefslogtreecommitdiff
path: root/tests/monsterdata_test.json
blob: c0b467c1741413fb4182469a0dab6248f427851f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
  pos: {
    x: 1,
    y: "2",
    z: 3,
    test1: 3,
    test2: "Green",
    test3: {
      a: 5,
      b: 6
    }
  },
  hp: 80,
  name: "MyMonster",
  inventory: [
    0,
    1,
    2,
    3,
    4
  ],
  vector_of_longs: [
      1,
      100,
      10000,
      1000000,
      100000000
  ],
  vector_of_doubles: [
      -1.7976931348623157e+308,
      0,
      1.7976931348623157e+308
  ],
  test_type: "Monster",
  test: {
    name: "Fred",
    pos: null
  },
  test4: [
    {
      a: 10,
      b: 20
    },
    {
      b: "40",
      a: 30
    }
  ],
  test5: [
    {
      a: 10,
      b: 20
    },
    {
      b: "40",
      a: 30
    }
  ],
  testarrayofstring: [
    "test1",
    "test2"
  ],
  enemy: {
    name: "Fred"
  },
  testarrayofbools:[
    true, false, true
  ],
  testbool: true,
  testhashs32_fnv1: "This string is being hashed!",
  testhashu32_fnv1: "This string is being hashed!",
  testhashs64_fnv1: "This string is being hashed!",
  testhashu64_fnv1: "This string is being hashed!",
  testhashs32_fnv1a: "This string is being hashed!",
  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}
  ],
  scalar_key_sorted_tables:[
    {id:"hit",val:10,count:1}, {id:"miss",val:0,count:0}
  ],
}