added RndPoral func to create Random Portal code
This commit is contained in:
@@ -5,6 +5,11 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestRndPortal(t *testing.T) {
|
||||
fmt.Printf("\nRandom Portal Code: ")
|
||||
fmt.Println(RndPortal())
|
||||
}
|
||||
|
||||
func TestPortal2Galactic(t *testing.T) {
|
||||
want, err := P2gc("006afa556c30")
|
||||
if err != nil {
|
||||
@@ -51,7 +56,7 @@ func TestGalactic2portal(t *testing.T) {
|
||||
|
||||
func TestCreateBanner(t *testing.T) {
|
||||
fmt.Printf("\nTesting CreateBanner: ")
|
||||
CreateBanner("006afa556c30", "/tmp/Test.png", 0)
|
||||
CreateBanner(RndPortal(), "/tmp/Test.png", 0)
|
||||
}
|
||||
|
||||
func TestTranslate(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user