@Test public void testPickup() { Pickup pickup = new Pickup(1, 1, "unknown"); assertNotNull(pickup); assertEquals("unknown", pickup.getType()); assertEquals(0, pickup.getWidth()); assertEquals(0, pickup.getHeight()); assertEquals(1, pickup.getYPos()); assertEquals(1, pickup.getXPos()); }
@Test public void testGetType() { Pickup pickup = new Pickup(1, 1, "unknown"); assertEquals("unknown", pickup.getType()); }