public void IfOrderInMarket_ShouldReturnItsID() { var market = new Market(); var orderA = new Order(120, Currency.USD, Currency.EUR, 100 / 120); var orderB = new Order(100, Currency.EUR, Currency.USD, 120 / 100); market.AddOrder(orderA); var matchedOrderId = market.FindMatch(orderB); Assert.AreEqual(matchedOrderId, 0); }