Files
mice/tests/non_regression_output/states.json
T
enne2 c7ed24483d Add comprehensive test suite for game mechanics and level handling
- Introduced `test_final_level_flow.py` to validate final level transitions and game end scenarios.
- Created `test_game_over_flow.py` to ensure game over conditions trigger correctly based on rat counts.
- Implemented `test_keybindings.py` to verify keybinding configurations and their context-specific actions.
- Developed `test_level_editor.py` to assess level editor functionalities and layout computations.
- Added `test_level_io.py` for testing level data serialization and deserialization.
- Established `test_loop_logic_parity.py` to ensure consistent game state across multiple simulation runs.
- Created `test_non_regression.py` to simulate game behavior and capture states for future verification.
- Implemented `test_verify.py` to compare current game states against a golden master for regression detection.
2026-05-19 22:18:43 +02:00

437 lines
7.1 KiB
JSON

[
{
"points": 0,
"unit_count": 5,
"units": [
{
"id": "0",
"type": "Female",
"pos": [
12,
1
],
"pos_before": [
13,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
},
{
"id": "2",
"type": "Male",
"pos": [
4,
11
],
"pos_before": [
5,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "3",
"type": "Male",
"pos": [
8,
30
],
"pos_before": [
7,
30
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "4",
"type": "Male",
"pos": [
19,
1
],
"pos_before": [
20,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "5",
"type": "Female",
"pos": [
9,
11
],
"pos_before": [
10,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
}
],
"frame": 0
},
{
"points": 0,
"unit_count": 5,
"units": [
{
"id": "0",
"type": "Female",
"pos": [
12,
1
],
"pos_before": [
13,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
},
{
"id": "2",
"type": "Male",
"pos": [
4,
11
],
"pos_before": [
5,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "3",
"type": "Male",
"pos": [
8,
30
],
"pos_before": [
7,
30
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "4",
"type": "Male",
"pos": [
19,
1
],
"pos_before": [
20,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "5",
"type": "Female",
"pos": [
9,
11
],
"pos_before": [
10,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
}
],
"frame": 50
},
{
"points": 0,
"unit_count": 5,
"units": [
{
"id": "0",
"type": "Female",
"pos": [
12,
1
],
"pos_before": [
13,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
},
{
"id": "2",
"type": "Male",
"pos": [
4,
11
],
"pos_before": [
5,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "3",
"type": "Male",
"pos": [
8,
30
],
"pos_before": [
7,
30
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "4",
"type": "Male",
"pos": [
19,
1
],
"pos_before": [
20,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "5",
"type": "Female",
"pos": [
9,
11
],
"pos_before": [
10,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
}
],
"frame": 100
},
{
"points": 0,
"unit_count": 5,
"units": [
{
"id": "0",
"type": "Female",
"pos": [
12,
1
],
"pos_before": [
13,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
},
{
"id": "2",
"type": "Male",
"pos": [
4,
11
],
"pos_before": [
5,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "3",
"type": "Male",
"pos": [
8,
30
],
"pos_before": [
7,
30
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "4",
"type": "Male",
"pos": [
19,
1
],
"pos_before": [
20,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "5",
"type": "Female",
"pos": [
9,
11
],
"pos_before": [
10,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
}
],
"frame": 150
},
{
"points": 0,
"unit_count": 5,
"units": [
{
"id": "0",
"type": "Female",
"pos": [
12,
1
],
"pos_before": [
13,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
},
{
"id": "2",
"type": "Male",
"pos": [
4,
11
],
"pos_before": [
5,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "3",
"type": "Male",
"pos": [
8,
30
],
"pos_before": [
7,
30
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "4",
"type": "Male",
"pos": [
19,
1
],
"pos_before": [
20,
1
],
"partial_move": 0.0,
"age": 0,
"sex": "MALE",
"direction": "DOWN"
},
{
"id": "5",
"type": "Female",
"pos": [
9,
11
],
"pos_before": [
10,
11
],
"partial_move": 0.0,
"age": 0,
"sex": "FEMALE",
"direction": "DOWN"
}
],
"frame": 199
}
]