import { describe, expect, it } from 'vitest' import { World } from '../src/renderer/game/engine/runtime/World' function mk(seed: string): World { return World.create({ seed, surname: '钟', familyName: '钟家', motto: 'm', difficulty: 'normal' }) } describe('矩阵:八小校验', () => { it.each([ ['甲'], ['乙'], ['丙'], ['丁'], ['戊'], ['己'], ['庚'], ['辛'] ] as const)('%s:八宿校验', (label) => { const w = mk(`eight-${label}`) w.advanceMonth() expect(w.state.month).toBe(2) }) })