/** Tests the {@link Matrix#flood(double)} method. */
public void testFlood() {
Matrix m = new Matrix(10, 10);
m.flood(42.23);
for (int c = 0; c < m.getColumns(); c++) {
for (int r = 0; r < m.getRows(); r++) {
assertEquals(42.23, m.getElement(r, c));
}