@Test
public void testRandom() {

  MathUtils.setRandomSeed(0);
  final Rectangle3 rect1 = new Rectangle3();
  final Vector3 store = rect1.random(null);
  assertEquals(new Vector3(0.0, 0.0, 0.0), store);
  rect1.setA(new Vector3(1, 0, 0));
  rect1.setB(new Vector3(1, 1, 0));
  rect1.setC(new Vector3(0, 1, 0));
  rect1.random(store);
  assertEquals(new Vector3(0.39365482330322266, 0.8468815684318542, 0.0), store);
}