@Test
public void asFloatMatrix() {

  double[] array1 = {0, 1, 2};
  double[] array2 = {0, 1, 2};
  DoubleColumn c1 = DoubleColumn.create("1", array1);
  DoubleColumn c2 = DoubleColumn.create("2", array2);
  Table table = Table.create("test", c1, c2);
  float[][] expected = {{0.0f, 0.0f}, {1.0f, 1.0f}, {2.0f, 2.0f}};
  float[][] results = table.as().floatMatrix();
  assertTrue(Arrays.deepEquals(expected, results));
}