void () { assertEquals(Vector.create(4, 8).multiply(Vector.create(1, 2)), Vector.create(1, 2).multiply(Vector.create(4, 8))); // see http://ru.onlinemschool.com/math/library/vector/multiply/ assertEquals(20.0, Vector.create(1, 2).multiply(Vector.create(4, 8))); assertEquals(15.0, Vector.create(1, 2, -5).multiply(Vector.create(4, 8, 1))); assertEquals(11.0, Vector.create(1, 2, -5, 2).multiply(Vector.create(4, 8, 1, -2))); }