AncTe
|
36d8b4fb3c
|
test(08-01): migrate data-layer tests into __test__ dirs
Move 65 *.test.ts + 6 *.perf.ts across data-{common,base,system,state} into sibling __test__/ (data-state/test -> data-state/__test__), incl. fixtures/floors.json and non-test helpers; rewrite Rule A relative specifiers (+1 depth), keep Rule B unchanged; sync script/test-data-node.ts require paths. Gates: test:ci=66 files, test:perf=6 files, eslint clean, zero config/production changes.
|
2026-10-04 17:34:09 +08:00 |
|
AncTe
|
d74cc35c8e
|
feat: Adding should replay flag
|
2026-09-23 13:09:43 +08:00 |
|
AncTe
|
219ac4991d
|
fix: Flag 系统语义问题
|
2026-09-17 19:01:46 +08:00 |
|
AncTe
|
9964326210
|
fix(07-11): #06-17-5 preserve flag field instances across loadState
- FlagSystem.loadState 按 key 复用现有 FlagCommonField 并用 fromStructured 原地写值
- 存档中不存在的字段一律删除(以存档为准)
- IFlagSystem.loadState jsDoc 补写同引用与删除语义
- 新增同实例保真、getOrInsert 复用、结构化值恢复、删除多余字段回归用例
- flag/saveLoad.test.ts 的「重建字段对象」断言按 Q1=A 裁决改为同实例保真
|
2026-09-17 13:50:09 +08:00 |
|
AncTe
|
c707c87add
|
test(06-09): cover map, replay and flag save/load round trips
- add map/saveLoad.test.ts: StaticTile/DynamicTile/MapLayer/GameMap/MapState round trips, codes 55/122/124
- add replay/saveLoad.test.ts: ReplayArray and ReplaySystem same-instance round trips
- add flag/saveLoad.test.ts: FlagSystem round trip and separated snapshot
|
2026-09-14 18:57:51 +08:00 |
|
AncTe
|
2cb9bba3ce
|
test(06-08): cover FlagSystem, FaceManager handlers and RoleFaceBinder (stage 2)
- add system.test.ts covering the full FlagSystem public surface and warn code 111
- add faceManager.test.ts covering FaceManager registry plus Dir4/Dir8 handlers
- add face.test.ts covering RoleFaceBinder malloc/bind/query and error codes 43/44
|
2026-09-14 16:56:17 +08:00 |
|
AncTe
|
8f4c4b7df2
|
refactor: 将 Layer 0 单独放到一个包
|
2026-05-17 21:32:23 +08:00 |
|
 AncTeandCopilot
|
8c1becc9f1
|
refactor: 存档系统 & 勇士属性存档
Co-authored-by: Copilot <copilot@github.com>
|
2026-04-24 17:29:13 +08:00 |
|
AncTe
|
ebae685a4e
|
refactor: flag 系统
|
2026-04-18 22:39:37 +08:00 |
|