Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
testing GetTicks - GetLatestTick functions
Browse files Browse the repository at this point in the history
  • Loading branch information
saniales committed Aug 18, 2017
1 parent 2a9a330 commit 2d750de
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bittrex/public_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 28,19 @@ func TestGetBTCPrice(t *testing.T) {
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)
}
}

0 comments on commit 2d750de

Please sign in to comment.