[art] BoardV2: Every picture Phases 1-5 need: 86 pictures, each with a stand-in
This commit is contained in:
@@ -18,23 +18,36 @@ describe('art/manifest.json', () => {
|
||||
expect(checkManifest(readManifest(), POINTS)).toEqual([]);
|
||||
});
|
||||
|
||||
it('asks for the Phase 1 pictures: the rose sheet first, then stages, care, moments, props, chair, four garden layers, the icon', () => {
|
||||
it('asks for the 34 Phase 1 pictures: the rose sheet first, then her stages, care, moments and touch, the care things, chair, garden, letter and icons', () => {
|
||||
const m = readManifest();
|
||||
expect(m.assets[0]?.id).toBe('rose-sheet');
|
||||
const phase1 = m.assets.filter((a) => a.phase === 1);
|
||||
const pictures = phase1.flatMap((a: Asset) => (a.cells ? a.cells.map((c) => c.id) : [a.id]));
|
||||
expect(pictures).toHaveLength(25);
|
||||
expect(pictures).toEqual(expect.arrayContaining(['rose-bud', 'rose-full-bloom', 'rose-waiting', 'petal-folded', 'garden-chair', 'garden-sunset', 'garden-night', 'app-icon']));
|
||||
expect(pictures).toHaveLength(34);
|
||||
expect(pictures).toEqual(expect.arrayContaining([
|
||||
'rose-bud', 'rose-full-bloom', 'rose-waiting', 'rose-tickled', 'rose-gentle', 'petal-folded', 'weeds-growing',
|
||||
'watering-can-pouring', 'garden-chair', 'garden-sunset', 'garden-night', 'letter-header', 'app-icon', 'app-icon-maskable', 'favicon-mark'
|
||||
]));
|
||||
});
|
||||
|
||||
it('then Phase 2, the fox sheet first, and the decided Phase 3 pictures: 28 more', () => {
|
||||
it('then 52 for Phases 2–5: the fox sheet first, the fox, berries, visitors, mementos, the book, five planet drafts, paths, lanterns, traces, the sky, the share frame', () => {
|
||||
const m = readManifest();
|
||||
const later = m.assets.filter((a) => a.phase > 1);
|
||||
expect(later[0]?.id).toBe('fox-sheet');
|
||||
const pictures = later.flatMap((a: Asset) => (a.cells ? a.cells.map((c) => c.id) : [a.id]));
|
||||
expect(pictures).toHaveLength(28);
|
||||
expect(pictures).toEqual(expect.arrayContaining(['fox-watching', 'fox-petted', 'fox-asleep', 'rose-hips', 'bush-ripe', 'fox-brush', 'path-road', 'lantern-lit']));
|
||||
expect(new Set(m.assets.map((a) => a.phase))).toEqual(new Set([1, 2, 3]));
|
||||
expect(pictures).toHaveLength(52);
|
||||
expect(pictures).toEqual(expect.arrayContaining([
|
||||
'fox-watching', 'fox-petted', 'rose-hips', 'bush-ripe', 'visitor-robin', 'memento-feather', 'geographers-book',
|
||||
'planet-king', 'planet-geographer', 'path-road', 'lantern-lit', 'petal-trace', 'sky-light', 'wave-lamp-lit', 'foxes-meeting', 'share-frame'
|
||||
]));
|
||||
expect(new Set(m.assets.map((a) => a.phase))).toEqual(new Set([1, 2, 3, 4, 5]));
|
||||
});
|
||||
|
||||
it('draws no grown-up on a planet: every planet asks for nobody there', () => {
|
||||
for (const a of readManifest().assets.filter((x) => x.id.startsWith('planet-'))) {
|
||||
expect(a.subject).toContain('Nobody is there');
|
||||
expect(a.avoid).toContain('a person or any figure on the hill');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user