Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreben committed Oct 8, 2024
1 parent 1f380b4 commit 26a6796
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions internal/testrandom/random_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package testrandom_test

import (
"testing"

"github.com/keilerkonzept/bitknn/internal/testrandom"
)

func TestQuery(t *testing.T) {
_ = testrandom.Query()
}
func TestData(t *testing.T) {
data := testrandom.Data(123)
if len(data) != 123 {
t.Fatal()
}
}
func TestLabels(t *testing.T) {
data := testrandom.Labels(123)
if len(data) != 123 {
t.Fatal()
}
}
func TestValues(t *testing.T) {
data := testrandom.Values(123)
if len(data) != 123 {
t.Fatal()
}
}

0 comments on commit 26a6796

Please sign in to comment.