Skip to content

Commit

Permalink
clean tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aizen committed Oct 6, 2024
1 parent ac3b5ec commit c8ee829
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cryptipass_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func TestCert(t *testing.T) {

}

// TestGenPassphrase tests the GenPassphrase function for generating a passphrase and validating its length.
func TestGenPassphrase(t *testing.T) {
g := cryptipass.NewInstance()
words := uint64(5)
Expand All @@ -92,7 +91,6 @@ func TestGenPassphrase(t *testing.T) {
}
}

// TestGenWord tests that GenWord generates a word and returns a positive entropy value.
func TestGenWord(t *testing.T) {
g := cryptipass.NewInstance()
word, entropy := g.GenWord('W')
Expand All @@ -106,7 +104,6 @@ func TestGenWord(t *testing.T) {
}
}

// TestPickNext tests that PickNext generates a valid character appended to the seed and returns entropy.
func TestPickNext(t *testing.T) {
g := cryptipass.NewInstance()
seed := "te"
Expand All @@ -120,7 +117,6 @@ func TestPickNext(t *testing.T) {
}
}

// TestPickLength tests that PickLength generates a valid word length and returns entropy.
func TestPickLength(t *testing.T) {
g := cryptipass.NewInstance()
length, entropy := g.PickLength()
Expand All @@ -134,7 +130,6 @@ func TestPickLength(t *testing.T) {
}
}

// TestGenFromPattern tests that GenFromPattern generates a word of a specific length and returns a positive entropy value.
func TestGenFromPattern(t *testing.T) {
g := cryptipass.NewInstance()
pattern := "Cccc.cccc@dd"
Expand Down

0 comments on commit c8ee829

Please sign in to comment.