public void AssetPairIsEqualOrReversedTest() { var equalAssetPair = new AssetPair(@base, quote, 3, 5); var reversed = assetPair.Invert(); Assert.True(assetPair.IsEqualOrInverted(equalAssetPair)); Assert.True(equalAssetPair.IsEqualOrInverted(assetPair)); Assert.True(assetPair.IsEqualOrInverted(reversed)); Assert.True(reversed.IsEqualOrInverted(assetPair)); }