Package mikera.vectorz.impl

Examples of mikera.vectorz.impl.Vector0.join()


  @Test
  public void testVector0() {
    Vector0 v0 = Vector0.INSTANCE;
    Vector v = Vector.of(1, 2, 3);
    assertEquals(v, v0.join(v));
    assertEquals(v, v.join(v0));
    assertTrue(v0 == Vectorz.newVector(0));
    assertEquals(0, v0.length());
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.