title: Unit Test case using Assert
body: <p>The scenario I have is to Draw the specified number of cards from the deck and return them in sorted order (first by suit, then by face value).</p>
  
  <pre><code>&lt;param name="howMany"&gt;how many cards to draw.
  &lt;returns&gt;a list of drawn cards, sorted by suit and face value (rank)&lt;/returns&gt;
  </code></pre>
  
  <p>I have coded this Method to achieve it.I have to write an Unit Test code for it. what can be possible unit test for this as It has a list to compare and how to achieve that.</p>
  
  <pre><code>public List&lt;Card&gt; DrawSorted(int howMany)
  {
      List&lt;Card&gt; drawnCards = _cards.Take(howMany).ToList();
      IEnumerable&lt;Card&gt; sortedCards = from card in drawnCards
                                              orderby card.Order ascending
                                              select card;
      return sortedCards.ToList();
  }
  </code></pre>
  
  <p>Any help is much appreciated </p>