public void Not_added_item_cannot_be_removed() { // setup var router = new FifoItemRouter <int>(); router.Route(0, 0); // execute var result = router.Remove(1); // verify result.Should().BeFalse(); }
public void Added_item_can_be_removed() { // setup var router = new FifoItemRouter <int>(); router.Route(0, 0); // execute var result = router.Remove(0); // verify result.Should().BeTrue(); }