/** * Tests the {@link Matrix1#Matrix1(double)} constructor. * This constructor is specific to the implementation class. */ @Test public void testConstructor() { initialize(415870088589607716L); final double[] elements = createRandomPositiveValues(SIZE * SIZE); final Matrix1 matrix = new Matrix1( elements[0]); validate(matrix); assertArrayEquals(elements, matrix.getElements(), STRICT); } }