@Test
	public void testConstructorPaddle() {
		Paddle p;
		//inbounds x and lower y
		try{
			p = new Paddle(250,90);
			assertArrayEquals(new int[]{250,90},p.getPosition());
		}
		catch(IllegalArgumentException e){
			fail("Failed requirement: P.1, P.1.2");
		}
		
		//inbounds x and upper y
		try{
			p = new Paddle(250,500);
			assertArrayEquals(new int[]{250,500},p.getPosition());
		}
		catch(IllegalArgumentException e){
			fail("Failed requirement: P.1.2");
		}
		
		//max x
		try{
			p = new Paddle(150,90);
			assertArrayEquals(new int[]{150,90},p.getPosition());
		}
		catch(IllegalArgumentException e){
			fail("Failed requirement: P.1.1");
		}
		
		//min x
		try{
			p = new Paddle(350,90);
			assertArrayEquals(new int[]{350,90},p.getPosition());
		}
		catch(IllegalArgumentException e){
			fail("Failed requirement: P.1.1");
		}
		
		//out of bounds max x
		try{
			p = new Paddle(351,90);
			fail("Failed requirement: P.1.1");
		}
		catch(IllegalArgumentException e){
		}
		
		//out of bounds min x
		try{
			p = new Paddle(149,90);
			fail("Failed requirement: P.1.1");
		}
		catch(IllegalArgumentException e){
		}
		
		//out of bounds y
		try{
			p = new Paddle(250,250);
			fail("Failed requirement: P.1.2");
		}
		catch(IllegalArgumentException e){
		}
	}