package nom.bdezonia.zorbage.algorithm; class TestMatrixZero {}

@@ -36,29 +36,631 @@
 thm;
- class TestMatrixZero %7B
+%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0Aimport nom.bdezonia.zorbage.groups.G;%0Aimport nom.bdezonia.zorbage.type.data.float64.real.Float64MatrixMember;%0Aimport nom.bdezonia.zorbage.type.data.float64.real.Float64Member;%0A%0A/**%0A * %0A * @author Barry DeZonia%0A *%0A */%0Apublic class TestMatrixZero %7B%0A%0A%09@Test%0A%09public void test() %7B%0A%09%09Float64MatrixMember a = new Float64MatrixMember(2,2,new double%5B%5D %7B1,2,3,4%7D);%0A%09%09Float64Member value = G.DBL.construct();%0A%09%09G.DBL_MAT.zero().call(a);%0A%09%09for (int i = 0; i %3C a.rows(); i++) %7B%0A%09%09%09for (int j = 0; j %3C a.cols(); j++) %7B%0A%09%09%09%09assertEquals(0, value.v(), 0);%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A
 %7D%0A

Test MatrixZero algorithm