public void AssetPairContainsTest() { const string btc = "BTC"; const string usd = "USD"; const string eur = "EUR"; var btcusd = new AssetPair(btc, usd, 3, 5); Assert.True(btcusd.ContainsAsset(btc)); Assert.True(btcusd.ContainsAsset(usd)); Assert.False(btcusd.ContainsAsset(eur)); }
public void AssetPairContainsTest() { Assert.True(_btcusd.ContainsAsset("BTC")); Assert.True(_btcusd.ContainsAsset("USD")); Assert.False(_btcusd.ContainsAsset("EUR")); }