You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package padding |
|
|
|
import ( |
|
"testing" |
|
"time" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
var ( |
|
p *pkcs5 |
|
) |
|
|
|
func init() { |
|
p = &pkcs5{} |
|
time.Sleep(time.Second) |
|
} |
|
|
|
func TestPadding(t *testing.T) { |
|
Convey("Padding", t, func() { |
|
res := p.Padding([]byte{}, 1) |
|
So(res, ShouldNotBeEmpty) |
|
}) |
|
}
|
|
|