summaryrefslogtreecommitdiff
path: root/internal/config/config_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-23 09:39:50 +0300
committerPaul Buetow <paul@buetow.org>2026-04-23 09:39:50 +0300
commitb831b6bff98ceb4fbe992640a857d27501763b40 (patch)
tree5f64402a4592e47dbe40a62d596c2da637162e4c /internal/config/config_test.go
parent1834c8886b15aa3b868e988c185ac5c344392886 (diff)
Add new style families and regenerate style/theme montage.
This adds pulp, mecha, pixel-art, ink-wash, and clay style pools across config defaults, style selection, and CLI/runner wiring, and extends tests to cover the new modes. It also updates the stylegrid tooling/docs and regenerates the all-styles-and-themes reference image with labeled examples. Made-with: Cursor
Diffstat (limited to 'internal/config/config_test.go')
-rw-r--r--internal/config/config_test.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go
index 98b72db..c7aa2c8 100644
--- a/internal/config/config_test.go
+++ b/internal/config/config_test.go
@@ -58,6 +58,16 @@ styles:
- custom horror
watercolor:
- custom watercolor
+ pulp:
+ - custom pulp
+ mecha:
+ - custom mecha
+ pixel_art:
+ - custom pixel art
+ ink_wash:
+ - custom ink wash
+ clay:
+ - custom clay
narration:
chunk_words: 42
`)), 0o644); err != nil {
@@ -119,6 +129,21 @@ narration:
if got, want := len(cfg.Styles.Watercolor), 1; got != want || cfg.Styles.Watercolor[0] != "custom watercolor" {
t.Fatalf("Styles.Watercolor = %#v, want %q", cfg.Styles.Watercolor, "custom watercolor")
}
+ if got, want := len(cfg.Styles.Pulp), 1; got != want || cfg.Styles.Pulp[0] != "custom pulp" {
+ t.Fatalf("Styles.Pulp = %#v, want %q", cfg.Styles.Pulp, "custom pulp")
+ }
+ if got, want := len(cfg.Styles.Mecha), 1; got != want || cfg.Styles.Mecha[0] != "custom mecha" {
+ t.Fatalf("Styles.Mecha = %#v, want %q", cfg.Styles.Mecha, "custom mecha")
+ }
+ if got, want := len(cfg.Styles.PixelArt), 1; got != want || cfg.Styles.PixelArt[0] != "custom pixel art" {
+ t.Fatalf("Styles.PixelArt = %#v, want %q", cfg.Styles.PixelArt, "custom pixel art")
+ }
+ if got, want := len(cfg.Styles.InkWash), 1; got != want || cfg.Styles.InkWash[0] != "custom ink wash" {
+ t.Fatalf("Styles.InkWash = %#v, want %q", cfg.Styles.InkWash, "custom ink wash")
+ }
+ if got, want := len(cfg.Styles.Clay), 1; got != want || cfg.Styles.Clay[0] != "custom clay" {
+ t.Fatalf("Styles.Clay = %#v, want %q", cfg.Styles.Clay, "custom clay")
+ }
if got, want := cfg.Narration.ChunkWords, 42; got != want {
t.Fatalf("Narration.ChunkWords = %d, want %d", got, want)
}