117118119120121122123124125126127
@Test public void testToArray() { Vector3 a = new Vector3(3f, -1f, 0f); assertEquals(true, Arrays.equals(a.toArray(), new float[] { 3f, -1f, 0f })); } @Test public void testCombined() { Vector3 a = new Vector3(0f, 1f, 2f);