import java.awt.image.BufferedImage;
import org.junit.*;
import static org.junit.Assert.*;


public class TestWeaponPickup {
	
	@Test
	public void testWeaponPickup(){
		int x = 1;
		int y = 1;

		WeaponPickup weaponPick = new WeaponPickup(x, y);

		assertNotNull(weaponPick);
		assertNotNull(weaponPick.pickupImage);
		assertEquals("ring", weaponPick.getType()); // default type in the class in the constructor
		assertEquals(0, weaponPick.getWidth());
		assertEquals(0, weaponPick.getHeight());
	}


	@Test
	public void testUpdate(){
		WeaponPickup weaponPick = new WeaponPickup(1, 1);
		float dt = 1.0f;
		int dx = 1;

		assertEquals(0, weaponPick.update(dt, dx));
	}

}
@@ -124,17 +124,16 @@
 ckup %7B%0D%0A
-%09
 %0D%0A%09@Test
@@ -337,23 +337,13 @@
 sert
-Equals(%22ring%22, 
+True(
 weap
@@ -358,16 +358,46 @@
 etType()
+.matches(%22ring%7Cmissile%7Claser%22)
 ); // de
@@ -715,8 +715,10 @@
 %0A%09%7D%0D%0A%0D%0A%7D
+%0D%0A

Make TestWeaponPickup accept all of our pickup types.