public void AssetPairHasCommonAssetTest() { const string third = "EUR"; var assetPair2 = new AssetPair(@base, third, 3, 5); var assetPair3 = new AssetPair(third, @base, 2, 4); Assert.True(assetPair.HasCommonAsset(assetPair2)); Assert.True(assetPair2.HasCommonAsset(assetPair)); Assert.True(assetPair.HasCommonAsset(assetPair3)); Assert.True(assetPair3.HasCommonAsset(assetPair)); }