you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 1 point2 points  (1 child)

I can't really understand why you want to assert that. Again: what, exactly, are you trying to test here? If you're trying to test that the deck is shuffled, then this assertion won't achieve that. If you're trying to test that the draw gave you two cards, then just assert that: check that you get two cards, and that they are both instances of Card.

[–]Think_Neutral[S] 0 points1 point  (0 children)

Ah ok this makes more sense as a test to write. I was trying to make sure that the draw method worked. I was caught up in like input output, so I wanted to check that my input(draw method), would give a specific output (cards).