@Test public void testPosition() { player.setPos(pos2); position test = player.getPos(); assertEquals(200, test.getX()); assertEquals(300, test.getY()); }
@Test public void testKonstruktor() { position test = player.getPos(); assertEquals(100, test.getX()); assertEquals(50, test.getY()); }