Skip to content

Commit

Permalink
Added parallel() testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 30, 2020
1 parent bfa0ae3 commit 1da9b71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions encryption_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ func BenchmarkDecryptWithPrivateKeyString(b *testing.B) {

// TestEncryptShared will test the method EncryptShared()
func TestEncryptShared(t *testing.T) {
t.Parallel()

// User 1's private key
privKey1, _ := CreatePrivateKey()
Expand Down Expand Up @@ -469,6 +470,7 @@ func TestEncryptSharedPanic(t *testing.T) {

// TestEncryptSharedString will test the method EncryptSharedString()
func TestEncryptSharedString(t *testing.T) {
t.Parallel()

// User 1's private key
privKey1, _ := CreatePrivateKey()
Expand Down
1 change: 1 addition & 0 deletions private_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
// encrypt data that can be decrypted by yourself (privkey) and also the owner
// of the given public key
func TestGenerateSharedKeyPair(t *testing.T) {
t.Parallel()

// User 1
privKey1, _ := CreatePrivateKey()
Expand Down

0 comments on commit 1da9b71

Please sign in to comment.