mirror of
https://github.com/hanzozt/secretstream.git
synced 2026-10-30 14:44:05 +00:00
20 lines
346 B
Go
20 lines
346 B
Go
//go:build compat_test
|
|
|
|
package secretstream
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestToSodium(t *testing.T) {
|
|
common_test(t, NewEncryptor, NewSodiumRecvStream)
|
|
}
|
|
|
|
func TestFromSodium(t *testing.T) {
|
|
common_test(t, NewSodiumSendStream, NewDecryptor)
|
|
}
|
|
|
|
func TestSodium2Sodium(t *testing.T) {
|
|
common_test(t, NewSodiumSendStream, NewSodiumRecvStream)
|
|
}
|