@Test public void testEqualsSymmetryInitialPosition() { TemplatePosition posX = TemplatePosition.createInitialPosition(); TemplatePosition posY = TemplatePosition.createInitialPosition(); assertTrue(posX.equals(posY)); assertTrue(posY.equals(posX)); }
@Test public void testEqualsReflexivtiyInitialPosition() { TemplatePosition pos1 = TemplatePosition.createInitialPosition(); assertTrue(pos1.equals(pos1)); }