mcias/data/totp_test.go

15 lines
225 B
Go

package data
import (
"fmt"
"testing"
"github.com/gokyle/twofactor"
)
func TestTOTPBasic(t *testing.T) {
// Just test that we can import and use the package
totp := twofactor.TOTP{}
fmt.Printf("TOTP: %+v\n", totp)
}