Remove BTCC exchange

This commit is contained in:
Adrian Gallagher
2019-06-03 17:17:17 +10:00
parent 94ac7c917d
commit 8048962b60
16 changed files with 11 additions and 1658 deletions

View File

@@ -63,7 +63,7 @@ func TestSwapByPrice(t *testing.T) {
Volume: 5,
},
{
Exchange: "btcc",
Exchange: "bitfinex",
Pair: p,
AssetType: "SPOT",
Price: 7863,
@@ -72,7 +72,7 @@ func TestSwapByPrice(t *testing.T) {
}
ByPrice.Swap(Items, 0, 1)
if Items[0].Exchange != "btcc" || Items[1].Exchange != "bitstamp" {
if Items[0].Exchange != "bitfinex" || Items[1].Exchange != "bitstamp" {
t.Error("Test Failed - stats SwapByPrice did not swap values.")
}
}
@@ -95,7 +95,7 @@ func TestLessByVolume(t *testing.T) {
func TestSwapByVolume(t *testing.T) {
ByPrice.Swap(Items, 0, 1)
if Items[1].Exchange != "btcc" || Items[0].Exchange != "bitstamp" {
if Items[1].Exchange != "bitfinex" || Items[0].Exchange != "bitstamp" {
t.Error("Test Failed - stats SwapByVolume did not swap values.")
}
}