Beispiel #1
0
        private static void RemoveAndCheck(TradeQueueInfo <PK8> info, TradeEntry <PK8> trade, PokeRoutineExecutor routine)
        {
            var result = info.Remove(trade);

            result.Should().BeTrue();
            routine.Should().NotBeNull();
        }
Beispiel #2
0
        private static void RemoveAndCheck <T>(TradeQueueInfo <T> info, TradeEntry <T> trade, PokeRoutineExecutorBase routine) where T : PKM, new()
        {
            var result = info.Remove(trade);

            result.Should().BeTrue();
            routine.Should().NotBeNull();
        }