mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 13:26:47 +01:00
Added tests
This commit is contained in:
parent
2bc6499f1b
commit
615b7842db
@ -208,6 +208,18 @@ namespace BTCPayServer.Tests
|
|||||||
e => e.CurrencyPair == new CurrencyPair("BTC", "LBP") &&
|
e => e.CurrencyPair == new CurrencyPair("BTC", "LBP") &&
|
||||||
e.BidAsk.Bid > 1.0m); // 1 BTC will always be more than 1 LBP (I hope)
|
e.BidAsk.Bid > 1.0m); // 1 BTC will always be more than 1 LBP (I hope)
|
||||||
}
|
}
|
||||||
|
else if (name == "bitmynt")
|
||||||
|
{
|
||||||
|
Assert.Contains(exchangeRates.ByExchange[name],
|
||||||
|
e => e.CurrencyPair == new CurrencyPair("BTC", "NOK") &&
|
||||||
|
e.BidAsk.Bid > 1.0m); // 1 BTC will always be more than 1 NOK
|
||||||
|
}
|
||||||
|
else if (name == "barebitcoin")
|
||||||
|
{
|
||||||
|
Assert.Contains(exchangeRates.ByExchange[name],
|
||||||
|
e => e.CurrencyPair == new CurrencyPair("BTC", "NOK") &&
|
||||||
|
e.BidAsk.Bid > 1.0m); // 1 BTC will always be more than 1 NOK
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (name == "kraken")
|
if (name == "kraken")
|
||||||
|
Loading…
Reference in New Issue
Block a user