add stat and fix get place

This commit is contained in:
2025-12-06 16:50:06 +07:00
parent dad8d1c3a2
commit 0fe8b77d12
13 changed files with 136 additions and 11 deletions
+18
View File
@@ -0,0 +1,18 @@
package tests
import (
"testing"
"github.com/stretchr/testify/assert"
)
func Test_StoryStatistics(t *testing.T) {
client, close := getClient()
defer close()
getGraphResp, err := getGraph(client)
assert.Nil(t, err, "запрос отправлен успешно")
assert.Equal(t, 5, int(getGraphResp.CountNodes))
assert.Equal(t, 3, int(getGraphResp.CountEdges))
}