diff options
author | Valery Piashchynski <[email protected]> | 2021-05-28 10:48:05 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-28 10:48:05 +0300 |
commit | 5527b31b2da2b60ed8877b8c43badb73f98ec7bb (patch) | |
tree | 3544321ff305539cc6ca735fadf972c782774f7a /pkg | |
parent | 008f093b3de55472250470354670715115c4e4c4 (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.go | 4 |
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() |