"--tempDir", tmpDir.getAbsolutePath() });
Matrix similarityMatrix = MathHelper.readMatrix(conf, new Path(outputDir.getAbsolutePath(), "part-r-00000"), 3, 3);
assertNotNull(similarityMatrix);
assertEquals(3, similarityMatrix.numCols());
assertEquals(3, similarityMatrix.numRows());
assertEquals(1.0, similarityMatrix.get(0, 0), EPSILON);
assertEquals(1.0, similarityMatrix.get(1, 1), EPSILON);
assertEquals(1.0, similarityMatrix.get(2, 2), EPSILON);