@Test
public void testVector2f() {
Vector2f vec1 = new Vector2f(5, 7);
assertEquals(5,vec1.x(),0.0001);
assertEquals(7,vec1.y(),0.0001);
Vector2f vec2 = new Vector2f(5);
assertTrue(vec1.isInRange(vec2, 2.0001f));
assertFalse(vec1.isInRange(vec2, 1.9999f));
assertEquals(Math.sqrt(50), vec2.length(), 0.0001);