Added dark mode option to CreateBanner() func
- Fixed PORTALSYMBOL file names - Now using image files from assets/glyphs - CreateBanner() func options tweaked
This commit is contained in:
@@ -10,6 +10,12 @@ func TestRndPortal(t *testing.T) {
|
||||
fmt.Println(RndPortal())
|
||||
}
|
||||
|
||||
func TestCreateBanner(t *testing.T) {
|
||||
fmt.Printf("\nTesting CreateBanner: ")
|
||||
CreateBanner(RndPortal(), "/tmp/Test.png", 11)
|
||||
fmt.Printf("Random Portal address rendered as `/tmp/Test.png`\n\n")
|
||||
}
|
||||
|
||||
func TestPortal2Galactic(t *testing.T) {
|
||||
want, err := P2gc("006afa556c30")
|
||||
if err != nil {
|
||||
@@ -54,11 +60,6 @@ func TestGalactic2portal(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestCreateBanner(t *testing.T) {
|
||||
fmt.Printf("\nTesting CreateBanner: ")
|
||||
CreateBanner(RndPortal(), "/tmp/Test.png", 0)
|
||||
}
|
||||
|
||||
func TestTranslate(t *testing.T) {
|
||||
want := Translate{"Paka"}
|
||||
if want.Atl2Eng() != "Awake" {
|
||||
|
||||
Reference in New Issue
Block a user