@@ -0,0 +1,1576 @@
+package org.westmalle.wayland.core.calc;%0A%0Aimport org.junit.Test;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0A%0Apublic class Vec4Test %7B%0A%0A%0A    @Test%0A    public void testAdd() throws Exception %7B%0A        //given%0A        final Vec4 left = Vec4.create(12,%0A                                      34,%0A                                      56,%0A                                      78);%0A        final Vec4 right = Vec4.create(87,%0A                                       65,%0A                                       43,%0A                                       21);%0A%0A        //when%0A        Vec4 result = left.add(right);%0A%0A        //then%0A        assertThat(result).isEqualTo(Vec4.create(99,%0A                                                 99,%0A                                                 99,%0A                                                 99));%0A    %7D%0A%0A    @Test%0A    public void testSubtract() throws Exception %7B%0A        //given%0A        final Vec4 left = Vec4.create(99,%0A                                      99,%0A                                      99,%0A                                      99);%0A%0A        final Vec4 right = Vec4.create(87,%0A                                       65,%0A                                       43,%0A                                       21);%0A%0A        //when%0A        final Vec4 result = left.subtract(right);%0A%0A        //then%0A        assertThat(result).isEqualTo(Vec4.create(12,%0A                                                 34,%0A                                                 56,%0A                                                 78));%0A    %7D%0A%7D

add vector unit test