public void testCompareMemoryMatches()
{
Memory.reset();
Memory m = Memory.getInstance();
m.setSelections(new Card(1, 'h'), new Card(1, 'd')); // same value, different suits
assertTrue(m.compareCards());
m.setSelections(new Card(1, 'h'), new Card(1, 'c')); // same value, different color
assertFalse(m.compareCards());
m.setSelections(new Card(1, 'h'), new Card(2, 'd')); // different value, difference suit
assertFalse(m.compareCards());
}