180 lines
4.7 KiB
JSON
180 lines
4.7 KiB
JSON
{
|
|
"format": "wwar-v1-wire-valid",
|
|
"version": 1,
|
|
"cases": [
|
|
{
|
|
"id": "bool.false",
|
|
"value": {
|
|
"bool": false
|
|
},
|
|
"wwar_hex": "57574152000104000000000000000100",
|
|
"sha256": "a8c3e92d7edeecbc654f8f9390ea3eb12239202daa8b3b722f0712c30d1c8879"
|
|
},
|
|
{
|
|
"id": "bool.true",
|
|
"value": {
|
|
"bool": true
|
|
},
|
|
"wwar_hex": "57574152000104000000000000000101",
|
|
"sha256": "79f3f90ea5b8064498618c46a07327599f7106d675de57fd42d3d8507b768437"
|
|
},
|
|
{
|
|
"id": "bytes.empty",
|
|
"value": {
|
|
"bytes": ""
|
|
},
|
|
"wwar_hex": "575741520001010000000000000000",
|
|
"sha256": "8e009dfe2f881177e492688bb049de22f43d81d986546807c9f772096d9fe37f"
|
|
},
|
|
{
|
|
"id": "bytes.payload",
|
|
"value": {
|
|
"bytes": "0001ff"
|
|
},
|
|
"wwar_hex": "5757415200010100000000000000030001ff",
|
|
"sha256": "02e77171cbbb17f903aba78724c3cbfc14e3935b3de11bb3b430f18d560c9056"
|
|
},
|
|
{
|
|
"id": "string.empty",
|
|
"value": {
|
|
"string": ""
|
|
},
|
|
"wwar_hex": "575741520001020000000000000000",
|
|
"sha256": "c298a28c53cf596d254a78ac97c6c569477ac630abd8062df3f00f0a1122267d"
|
|
},
|
|
{
|
|
"id": "string.ascii",
|
|
"value": {
|
|
"string": "WWAR"
|
|
},
|
|
"wwar_hex": "57574152000102000000000000000457574152",
|
|
"sha256": "fab2562fb19a6baf0ea3ebf9e1b911596b79dee862c813a6f1384fe810073516"
|
|
},
|
|
{
|
|
"id": "string.nfc",
|
|
"value": {
|
|
"string": "é"
|
|
},
|
|
"wwar_hex": "575741520001020000000000000002c3a9",
|
|
"sha256": "9a42f284f8a3c27e4b7066d7a4528906b3c1645c81658744fc3b856191ed3342"
|
|
},
|
|
{
|
|
"id": "uint.zero",
|
|
"value": {
|
|
"uint": "0"
|
|
},
|
|
"wwar_hex": "57574152000103000000000000000100",
|
|
"sha256": "4904edc76c78e73847458c94978a584e464f8c2eb98f00ba35c662d2f1767ed5"
|
|
},
|
|
{
|
|
"id": "uint.255",
|
|
"value": {
|
|
"uint": "255"
|
|
},
|
|
"wwar_hex": "575741520001030000000000000001ff",
|
|
"sha256": "aa7c0cebc79e38b0102278f045375382c727253413ccfa002b70dfe3ed2819d4"
|
|
},
|
|
{
|
|
"id": "uint.256",
|
|
"value": {
|
|
"uint": "256"
|
|
},
|
|
"wwar_hex": "5757415200010300000000000000020100",
|
|
"sha256": "a68e8f2aedacb5259c116110773644f328372f2091043fd0651df87319eb8870"
|
|
},
|
|
{
|
|
"id": "uint.max",
|
|
"value": {
|
|
"uint": "18446744073709551615"
|
|
},
|
|
"wwar_hex": "575741520001030000000000000008ffffffffffffffff",
|
|
"sha256": "1f95d731a7a4889c49e5c8d1f97b44820a345926125c7625d9ef86745f35e260"
|
|
},
|
|
{
|
|
"id": "list.empty",
|
|
"value": {
|
|
"list": []
|
|
},
|
|
"wwar_hex": "57574152000105000000000000000400000000",
|
|
"sha256": "f211cff02842ce114f6f5ef655593042e1e52531da70fa6df9f8c8eded7b534e"
|
|
},
|
|
{
|
|
"id": "list.ordered",
|
|
"value": {
|
|
"list": [
|
|
{
|
|
"string": "z"
|
|
},
|
|
{
|
|
"string": "a"
|
|
}
|
|
]
|
|
},
|
|
"wwar_hex": "57574152000105000000000000002800000002000000000000000a0200000000000000017a000000000000000a02000000000000000161",
|
|
"sha256": "15c65285fe9d9b4c1beb1c20589c6408b54f1d48879a41cc3da12664e28b2439"
|
|
},
|
|
{
|
|
"id": "map.empty",
|
|
"value": {
|
|
"map": []
|
|
},
|
|
"wwar_hex": "57574152000106000000000000000400000000",
|
|
"sha256": "194b1bb965574f395e9a4c040eec66c4aa3c8691b1b0a000cff5a59de75531c1"
|
|
},
|
|
{
|
|
"id": "map.sorted",
|
|
"value": {
|
|
"map": [
|
|
[
|
|
"a",
|
|
{
|
|
"uint": "1"
|
|
}
|
|
],
|
|
[
|
|
"é",
|
|
{
|
|
"uint": "2"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"wwar_hex": "57574152000106000000000000003b00000002000000000000000161000000000000000a030000000000000001010000000000000002c3a9000000000000000a03000000000000000102",
|
|
"sha256": "41eec75e4b05ca60b6da7abbc00b9820a09c698f86acd426e293ecaddfef883a"
|
|
},
|
|
{
|
|
"id": "record.empty",
|
|
"value": {
|
|
"record": []
|
|
},
|
|
"wwar_hex": "57574152000107000000000000000400000000",
|
|
"sha256": "138c6acb7f01e91df73cb1d9c3356d18f19d7b8eb8b0a15426bef32e515d0de0"
|
|
},
|
|
{
|
|
"id": "record.nested",
|
|
"value": {
|
|
"record": [
|
|
[
|
|
1,
|
|
{
|
|
"record": []
|
|
}
|
|
],
|
|
[
|
|
9,
|
|
{
|
|
"list": [
|
|
{
|
|
"bool": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"wwar_hex": "5757415200010700000000000000480000000200000001000000000000000d0700000000000000040000000000000009000000000000001f05000000000000001600000001000000000000000a04000000000000000101",
|
|
"sha256": "9bf1bfd8d3ba6feb0f1a3093c17e6b22693b09bee1695f3c249a90953a3f210f"
|
|
}
|
|
]
|
|
}
|