mirror of
https://github.com/octoleo/restic.git
synced 2024-11-30 08:44:02 +00:00
15 lines
226 B
Go
15 lines
226 B
Go
|
package crypto
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func TestCalibrate(t *testing.T) {
|
||
|
params, err := Calibrate(100*time.Millisecond, 50)
|
||
|
if err != nil {
|
||
|
t.Fatal(err)
|
||
|
}
|
||
|
t.Logf("testing calibrate, params after: %v", params)
|
||
|
}
|