@Test
public void testData() {

  final Ray3 ray = new Ray3();
  assertEquals(Vector3.UNIT_Z, ray.getDirection());
  assertEquals(Vector3.ZERO, ray.getOrigin());
  ray.setDirection(Vector3.NEG_UNIT_X);
  assertEquals(Vector3.NEG_UNIT_X, ray.getDirection());
  ray.setOrigin(Vector3.ONE);
  assertEquals(Vector3.ONE, ray.getOrigin());
  final Ray3 ray2 = new Ray3(ray);
  assertEquals(Vector3.NEG_UNIT_X, ray2.getDirection());
  assertEquals(Vector3.ONE, ray2.getOrigin());
  ray.set(new Ray3());
  assertEquals(Vector3.UNIT_Z, ray.getDirection());
  assertEquals(Vector3.ZERO, ray.getOrigin());
}