mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
test: lock short route planner and timing contracts
This commit is contained in:
parent
b9bff02107
commit
ba1dc32ccb
9 changed files with 339 additions and 4 deletions
|
|
@ -34,5 +34,62 @@
|
|||
"endBlock": { "x": 177, "y": 83, "z": 162 }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"scenarioId": "same-move-ascend-staircase",
|
||||
"expectedStatus": "Success",
|
||||
"segments": [
|
||||
{
|
||||
"moveType": "Ascend",
|
||||
"startBlock": { "x": 340, "y": 80, "z": 340 },
|
||||
"endBlock": { "x": 341, "y": 81, "z": 340 }
|
||||
},
|
||||
{
|
||||
"moveType": "Ascend",
|
||||
"startBlock": { "x": 341, "y": 81, "z": 340 },
|
||||
"endBlock": { "x": 342, "y": 82, "z": 340 }
|
||||
},
|
||||
{
|
||||
"moveType": "Ascend",
|
||||
"startBlock": { "x": 342, "y": 82, "z": 340 },
|
||||
"endBlock": { "x": 343, "y": 83, "z": 340 }
|
||||
},
|
||||
{
|
||||
"moveType": "Ascend",
|
||||
"startBlock": { "x": 343, "y": 83, "z": 340 },
|
||||
"endBlock": { "x": 344, "y": 84, "z": 340 }
|
||||
},
|
||||
{
|
||||
"moveType": "Ascend",
|
||||
"startBlock": { "x": 344, "y": 84, "z": 340 },
|
||||
"endBlock": { "x": 345, "y": 85, "z": 340 }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"scenarioId": "same-move-descend-staircase",
|
||||
"expectedStatus": "Success",
|
||||
"segments": [
|
||||
{
|
||||
"moveType": "Descend",
|
||||
"startBlock": { "x": 362, "y": 85, "z": 360 },
|
||||
"endBlock": { "x": 364, "y": 83, "z": 360 }
|
||||
},
|
||||
{
|
||||
"moveType": "Descend",
|
||||
"startBlock": { "x": 364, "y": 83, "z": 360 },
|
||||
"endBlock": { "x": 366, "y": 81, "z": 360 }
|
||||
},
|
||||
{
|
||||
"moveType": "Descend",
|
||||
"startBlock": { "x": 366, "y": 81, "z": 360 },
|
||||
"endBlock": { "x": 367, "y": 80, "z": 360 }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"scenarioId": "rejected-3x1-invalid-goal",
|
||||
"expectedStatus": "Failed",
|
||||
"segments": []
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -11,5 +11,33 @@
|
|||
{ "moveType": "Ascend", "expectedTicks": 0, "maxTicks": 0 },
|
||||
{ "moveType": "Ascend", "expectedTicks": 0, "maxTicks": 0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"scenarioId": "same-move-ascend-staircase",
|
||||
"expectedTotalTicks": 56,
|
||||
"maxTotalTicks": 68,
|
||||
"segments": [
|
||||
{ "moveType": "Ascend", "expectedTicks": 11, "maxTicks": 14 },
|
||||
{ "moveType": "Ascend", "expectedTicks": 11, "maxTicks": 14 },
|
||||
{ "moveType": "Ascend", "expectedTicks": 11, "maxTicks": 14 },
|
||||
{ "moveType": "Ascend", "expectedTicks": 11, "maxTicks": 14 },
|
||||
{ "moveType": "Ascend", "expectedTicks": 12, "maxTicks": 15 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"scenarioId": "same-move-descend-staircase",
|
||||
"expectedTotalTicks": 61,
|
||||
"maxTotalTicks": 74,
|
||||
"segments": [
|
||||
{ "moveType": "Descend", "expectedTicks": 24, "maxTicks": 29 },
|
||||
{ "moveType": "Descend", "expectedTicks": 25, "maxTicks": 30 },
|
||||
{ "moveType": "Descend", "expectedTicks": 12, "maxTicks": 15 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"scenarioId": "rejected-3x1-invalid-goal",
|
||||
"expectedTotalTicks": 0,
|
||||
"maxTotalTicks": 0,
|
||||
"segments": []
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue