mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-05 08:47:03 +08:00
@@ -14,12 +14,11 @@ import (
|
||||
)
|
||||
|
||||
func TestSuite(t *testing.T) {
|
||||
test.SetupLogging()
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Test Helper Suite")
|
||||
}
|
||||
|
||||
var _ = test.SetupLogging()
|
||||
|
||||
var _ = Describe("entropy", func() {
|
||||
Specify("that the entropy of an empty slice is zero", func() {
|
||||
Expect(test.Entropy([]byte{})).To(BeNumerically("==", 0))
|
||||
|
Reference in New Issue
Block a user