<commit_before>package bittrex_test

import (
	"testing"

	"github.com/saniales/golang-bittrex-api/bittrex"
)

var latestTestedVersion = "2.11"

func TestGetServerAPIVersion(t *testing.T) {
	testIsAPIAlive(t)
	version, err := bittrex.GetServerAPIVersion()
	if err != nil {
		t.Fatal(err)
	}
	if version != latestTestedVersion {
		t.Errorf(`Please check version you are testing, on server it is %s, 
while on this client it is %s.`,
			latestTestedVersion, version)
	}
}

func TestGetBTCPrice(t *testing.T) {
	testIsAPIAlive(t)
	_, err := bittrex.GetBTCPrice()
	if err != nil {
		t.Fatal(err)
	}
}
<commit_msg>testing GetTicks - GetLatestTick functions<commit_after>package bittrex_test

import (
	"testing"

	"github.com/saniales/golang-bittrex-api/bittrex"
)

var latestTestedVersion = "2.11"

func TestGetServerAPIVersion(t *testing.T) {
	testIsAPIAlive(t)
	version, err := bittrex.GetServerAPIVersion()
	if err != nil {
		t.Fatal(err)
	}
	if version != latestTestedVersion {
		t.Errorf(`Please check version you are testing, on server it is %s, 
while on this client it is %s.`,
			latestTestedVersion, version)
	}
}

func TestGetBTCPrice(t *testing.T) {
	testIsAPIAlive(t)
	_, err := bittrex.GetBTCPrice()
	if err != nil {
		t.Fatal(err)
	}
}

func TestGetTicks(t *testing.T) {
	testIsAPIAlive(t)
	_, err := bittrex.GetTicks("BTC-ETH", "thirtyMin")
	if err != nil {
		t.Fatal(err)
	}
}

func TestGetLatestTick(t *testing.T) {
	testIsAPIAlive(t)
	_, err := bittrex.GetLatestTick("BTC-ETH", "thirtyMin")
	if err != nil {
		t.Fatal(err)
	}
}

{'fraction_non_alphanumeric': 0.13545042125729098, 'fraction_numerical': 0.0038885288399222295, 'mean_word_length': 4.324137931034483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '773477', 'n_tokens_mistral': 660, 'n_tokens_neox': 625, 'n_words': 129}