Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
foolin committed May 17, 2020
1 parent 106d4a8 commit 79f62e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mixer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,13 @@ func TestRandomize(t *testing.T) {
}

}

func TestEncodeEmptyPassowrd(t *testing.T) {
mix := New()
source := "0123456789abcdefgHIJKLMN"
encode := mix.EncodeString("", source)
decode := mix.DecodeString("", encode)

t.Logf("\n------------\nsource: %v\nencode: %v\ndecode: %v\n------------\n",
source, encode, decode)
}

0 comments on commit 79f62e9

Please sign in to comment.