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)) }