public void TestUpdateLocation( ) { CardCollection coll = new CardCollection( ); coll.Add( new Card( Suit.Clubs, 10, true, null ) ); coll.Add( new Card( Suit.Diamonds, 11, true, null ) ); coll.Add( new Card( Suit.Diamonds, 7, true, null ) ); coll.UpdateLocation( 10, 7 ); // This test does in fact rely on the fact that a card // will by default initialize its location to 0,0. Assert.AreEqual( coll[ 0 ].Location.X, 10 ); }