test(迭代35卡①): 补战斗保底判据专测夹具(低于保底必拒+保底 1 下不误伤),使 fv7 有可红判据
This commit is contained in:
1 parent
a391512e98
commit
ba6604464e
1 file changed
+10
-1
@@ -334,7 +334,16 @@ func _test_negative_fixtures() -> void:
|
||||
{"id": 0, "type": "mine", "depth": 0, "next": [1]},
|
||||
{"id": 1, "type": "boss", "depth": 1, "next": []}])
|
||||
Kit.check("类型出域夹具报 enum〔fv1〕", _has_cat(_gen.validate_output(badty), "enum"))
|
||||
# 非 Boss 终点(断头链末不是 boss)——判据消息专一断言(防「别的检查顺带兜住」的假拦截)
|
||||
# 战斗保底判据专测:形状合法但战斗节点数低于保底的夹具必须被自证拒收
|
||||
var thin_battle := _fx([
|
||||
{"id": 0, "type": "battle", "depth": 0, "next": [1]},
|
||||
{"id": 1, "type": "reward", "depth": 1, "next": [2]},
|
||||
{"id": 2, "type": "shop", "depth": 2, "next": [3]},
|
||||
{"id": 3, "type": "boss", "depth": 3, "next": []}])
|
||||
Kit.check("战斗节点低于 battle_floor 的合法形状夹具命中「低于保底」判据〔fv7〕",
|
||||
_has_msg(_gen.validate_output(thin_battle, {"battle_floor": 4}), "低于保底"))
|
||||
Kit.check("同夹具在保底 1 下自证零错误(判据不误伤)〔fv7〕",
|
||||
_gen.validate_output(thin_battle, {"battle_floor": 1}).is_empty())
|
||||
var noBoss := _fx([
|
||||
{"id": 0, "type": "battle", "depth": 0, "next": [1]},
|
||||
{"id": 1, "type": "battle", "depth": 1, "next": []}])
|
||||
|
||||
Reference in new issue
Block a user