import 'package:test/test.dart';
import 'package:wolf_3d_dart/wolf_3d_renderer.dart';

void main() {
  group('AsciiThemes', () {
    test('contains quadrant as a selectable style', () {
      expect(AsciiThemes.values, contains(AsciiThemes.quadrant));
    });

    test('cycles through blocks and quadrant', () {
      expect(AsciiThemes.nextOf(AsciiThemes.blocks), AsciiThemes.quadrant);
      expect(AsciiThemes.nextOf(AsciiThemes.quadrant), AsciiThemes.blocks);
    });

    test('defaults to first style when unknown style is provided', () {
      const custom = AsciiTheme('Custom', 'Xx ');
      expect(AsciiThemes.nextOf(custom), AsciiThemes.blocks);
    });
  });
}
