summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-28 10:48:05 +0300
committerValery Piashchynski <[email protected]>2021-05-28 10:48:05 +0300
commit5527b31b2da2b60ed8877b8c43badb73f98ec7bb (patch)
tree3544321ff305539cc6ca735fadf972c782774f7a /pkg
parent008f093b3de55472250470354670715115c4e4c4 (diff)
- Add more tests for the BST storage
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/bst/bst_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bst/bst_test.go b/pkg/bst/bst_test.go
index 4ac9d82f..e4d4e4c3 100644
--- a/pkg/bst/bst_test.go
+++ b/pkg/bst/bst_test.go
@@ -9,6 +9,8 @@ import (
"github.com/stretchr/testify/assert"
)
+const predifined = "chat-1-2"
+
func TestNewBST(t *testing.T) {
// create a new bst
g := NewBST()
@@ -38,8 +40,6 @@ func TestNewBST(t *testing.T) {
assert.Len(t, exist3, 100)
}
-const predifined = "chat-1-2"
-
func BenchmarkGraph(b *testing.B) {
g := NewBST()