import { describe, it, expect } from 'vitest';
import { pickMysticWord, wordColumnSpan, MYSTIC_WORD_DROPS } from './matrixRainEffects';

describe('matrixRainEffects', () => {
  it('pickMysticWord returns known words', () => {
    const w = pickMysticWord();
    expect(MYSTIC_WORD_DROPS).toContain(w);
  });

  it('wordColumnSpan matches string length', () => {
    expect(wordColumnSpan('DESTROY')).toBe(7);
    expect(wordColumnSpan('BLACK MAGIC')).toBe(11);
  });
});
