skip to content
==> tests/gold_op.h <==
1/* Generated by the Rust (jobs.rs encode_ops, decode_ops): the encoding of eleven ops, one of each
2 * kind, and what decode_ops says about bad bytes. Lines: "ops <hex>", "bad <name> <hex> <answer>". */
3static const char *const GOLD_OPS =
4    "0179000000696420343239343936373239372070726f6772616d2070206f7020323534206974656d7320302d3130207072696f72697479203020617474656d707473203320646561646c696e652030206d6f646520636f6c6c65637420736574757020363a30207375626d69747465642035206d656d626572732030783503010000000100000003000000000000000700000000000000020000000900000003000000010203010707070707070707070707070707070707070707070707070707070707070707002400000b0000000401000000010000000400000000000000060000000000000008000000000000000100000005010000000100000009000000000000000300000004000000626f6f6d06010000000100000002000000000000000100000007010000000100000004000000000000000801000000010000004d000000000000000100000002010000000100000001000000780b010000000100000002000000010000000a0100000001000000090000000000000002000000010000000400000000000000020000000500000000000000090100000001000000";
5static const char *const GOLD_BAD[][3] = {
6    {"tag", "0c", "job op 12?"},
7    {"fold9", "0a0100000000000000020000000000000009000000", "job op fold: 9 members"},
8    {"blobtag", "0301000000000000000200000000000000030000000000000001000000020000000000000002", "job frame: blob tag 2?"},
9    {"short", "030102", "job frame: short (2 of 8 bytes at 1)"},
10    {"spec", "01050000006964203778", "job spec \"id 7x\""},
11    {"utf8", "02010000000000000002000000c0af", "job frame: not UTF-8"},
12    {"empty", "", "ok 0"},
13};