工程(测试夹具术语修正): 三件测试 mock 串 哥布林→地精(项目定名见 enemy.tres:761「goblin 地精」)——随 iter39 报告§六补录批的文档面 4f9de5fa 同源,主区直提被车道铁律拦,按规走 worktree 批收编;夹具设值与断言同串自洽,零行为改动

This commit is contained in:
DKChan committed 2026-10-27 18:50:30 +08:00
1 parent 4f9de5fafd
commit 98d3a2ec38
3 files changed
+10 -10

No files matched your search

@@ -131,11 +131,11 @@ func _init() -> void:
rp.stage = fstage
rp.board_view = main.board_view
rp.settlement_fx = ffx
rp._play_settlement_mark({"type": "damage", "target": "哥布林", "target_id": "goblin_b", "value": 3})
check(fstage.calls.size() == 1 and fstage.calls[0] == ["goblin_b", "哥布林"],
rp._play_settlement_mark({"type": "damage", "target": "地精", "target_id": "goblin_b", "value": 3})
check(fstage.calls.size() == 1 and fstage.calls[0] == ["goblin_b", "地精"],
"结算标出按行 target_id 解析站桩(id 与名同传——d12)〔wd12〕")
rp._play_cross_zone_fx({"type": "damage", "target": "哥布林", "target_id": "goblin_b", "value": 3})
check(fstage.calls.size() == 2 and fstage.calls[1] == ["goblin_b", "哥布林"],
rp._play_cross_zone_fx({"type": "damage", "target": "地精", "target_id": "goblin_b", "value": 3})
check(fstage.calls.size() == 2 and fstage.calls[1] == ["goblin_b", "地精"],
"跨区弹道按行 target_id 解析站桩(id 与名同传——d12)〔wd12〕")
check(ffx.calls.size() == 2, "两路解析成功后演出层各接一拍(记参面非空)〔wd12〕")
rp.free()