package gomp import "testing" func test(t *testing.T) { pw := []byte("1") name := []byte("1") mp, _ := NewMP(pw, name) mp.PrintPassword("1", 1, MaximumSecurityPassword) mp.PrintPassword("1", 1, LongPassword) mp.PrintPassword("1", 1, MediumPassword) mp.PrintPassword("1", 1, BasicPassword) mp.PrintPassword("1", 1, ShortPassword) mp.PrintPassword("1", 1, PIN) mp.PrintPassword("1", 1, Name) mp.DestroyKey() mp.PrintPassword("1", 1, Phrase) }