| 28 | } |
| 29 | |
| 30 | func TestBannerLogoEmbedded(t *testing.T) { |
| 31 | // Check that the embedded logo is not empty |
| 32 | if bannerLogo == "" { |
| 33 | t.Error("bannerLogo should not be empty") |
| 34 | } |
| 35 | |
| 36 | // Check that it contains the expected ASCII art patterns |
| 37 | if !strings.Contains(bannerLogo, "___") { |
| 38 | t.Error("bannerLogo should contain ASCII art pattern '___'") |
| 39 | } |
| 40 | |
| 41 | if !strings.Contains(bannerLogo, "|") { |
| 42 | t.Error("bannerLogo should contain ASCII art pipe characters") |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | func TestBannerStyleInitialized(t *testing.T) { |
| 47 | // Ensure FormatBanner always returns visible banner content. |