public List <Card> CompareListTest(List <Card> CardsToFind, Dictionary <string, int> Collection) { List <Card> result = CardComparer.CompareList(CardsToFind, Collection); return(result); // TODO: add assertions to method CardComparerTest.CompareListTest(List`1<Card>, Dictionary`2<String,Int32>) }
public void Should_Find_Hit() { var cardsToFind = new List <Card> { new Card { Name = "a", Quantity = 1 } }; var collection = new Dictionary <string, int> { { "a", 1 } }; var hits = CardComparer.CompareList(cardsToFind, collection); hits.ShouldNotBeEmpty(); }