MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / testCopy

Method testCopy

JSAT/test/jsat/linear/GenericMatrixTest.java:811–818  ·  view source on GitHub ↗

Test of clone method, of class TestImp.

()

Source from the content-addressed store, hash-verified

809 * Test of clone method, of class TestImp.
810 */
811 @Test
812 public void testCopy()
813 {
814 Matrix ACopy = A.clone();
815
816 assertEquals(A, ACopy);
817 assertEquals(A.multiply(B), ACopy.multiply(B));
818 }
819
820 /**
821 * Test of swapRows method, of class TestImp.

Callers

nothing calls this directly

Calls 3

multiplyMethod · 0.95
cloneMethod · 0.65
multiplyMethod · 0.45

Tested by

no test coverage detected