207 lines
4.2 KiB
JSON
207 lines
4.2 KiB
JSON
[
|
|
{
|
|
"name": "boolean",
|
|
"cases": [
|
|
{
|
|
"name": "logical_or.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"false",
|
|
"true",
|
|
"true",
|
|
"true",
|
|
"1",
|
|
"0",
|
|
"4",
|
|
"42",
|
|
"10",
|
|
"42"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "logical_and.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"false",
|
|
"false",
|
|
"false",
|
|
"true",
|
|
"0",
|
|
"5",
|
|
"false",
|
|
"4",
|
|
"32",
|
|
"32",
|
|
"42"
|
|
],
|
|
"stderr_lines": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "builtin",
|
|
"cases": [
|
|
{
|
|
"name": "permute.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"(0, 1, 3, 2)",
|
|
"(0, 2, 1, 3)",
|
|
"(0, 2, 3, 1)",
|
|
"(0, 3, 1, 2)",
|
|
"(0, 3, 2, 1)",
|
|
"(1, 0, 2, 3)",
|
|
"(1, 0, 3, 2)",
|
|
"(1, 2, 0, 3)",
|
|
"(1, 2, 3, 0)",
|
|
"(1, 3, 0, 2)",
|
|
"(1, 3, 2, 0)",
|
|
"(2, 0, 1, 3)",
|
|
"(2, 0, 3, 1)",
|
|
"(2, 1, 0, 3)",
|
|
"(2, 1, 3, 0)",
|
|
"(2, 3, 0, 1)",
|
|
"(2, 3, 1, 0)",
|
|
"(3, 0, 1, 2)",
|
|
"(3, 0, 2, 1)",
|
|
"(3, 1, 0, 2)",
|
|
"(3, 1, 2, 0)",
|
|
"(3, 2, 0, 1)",
|
|
"(3, 2, 1, 0)",
|
|
"(0, 1, 2, 3)",
|
|
"(0, 1, 2, 3)",
|
|
"(0, 1, 4, (3, 2))",
|
|
"(0, 4, (3, 2), 1)"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "range.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"()",
|
|
"()",
|
|
"(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)",
|
|
"(1, 2, 3, 4, 5, 6, 7, 8, 9)",
|
|
"(1, 3, 5, 7, 9)",
|
|
"()",
|
|
"()",
|
|
"(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)",
|
|
"(1, 2, 3, 4, 5, 6, 7, 8, 9)",
|
|
"(1, 3, 5, 7, 9)",
|
|
"()",
|
|
"()",
|
|
"(9, 8, 7, 6, 5, 4, 3, 2, 1, 0)",
|
|
"(9, 8, 7, 6, 5, 4, 3, 2, 1)",
|
|
"(9, 7, 5, 3, 1)"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "min.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"1",
|
|
"200",
|
|
"100",
|
|
"0"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "call.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"42",
|
|
"11",
|
|
"43"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "if.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"1",
|
|
"2",
|
|
"5",
|
|
"nil",
|
|
"7",
|
|
"200",
|
|
"9"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "uniq.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0)",
|
|
"(1, 3, 5, 3, 4, 1)",
|
|
"(1, 3, 5, 3, 4, 1)"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "reverse.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"()",
|
|
"(9, 8, 7, 6, 5, 4, 3, 2, 1, 0)",
|
|
"(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)",
|
|
"(9, 8, 7, 6, 5, 4, (1, 2, 3))"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "typeof.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"array",
|
|
"number",
|
|
"block",
|
|
"music",
|
|
"bool",
|
|
"nil",
|
|
"intrinsic"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "unique.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)",
|
|
"(1, 3, 5, 4)",
|
|
"(1, 3, 5, 4)"
|
|
],
|
|
"stderr_lines": []
|
|
},
|
|
{
|
|
"name": "max.mq",
|
|
"exit_code": 0,
|
|
"stdin_lines": [],
|
|
"stdout_lines": [
|
|
"5",
|
|
"209",
|
|
"109",
|
|
"10"
|
|
],
|
|
"stderr_lines": []
|
|
}
|
|
]
|
|
}
|
|
]
|