@Test
  public void testGetInwardConnectedness() {
    int[][] network =
        new int[][] {
          {0, 8, 1, 0},
          {4, 0, 2, 8},
          {0, 0, 0, 0},
          {1, 0, 8, 0}
        };

    Network net = new Network(network);

    // the type of these should be double[], but my current version of JUnit doesn't allow that...
    double[][] trueValue = new double[][] {{0, 0, 4, 0}};
    assertArrayEquals(trueValue, new double[][] {net.getVertexInwardConnectedness()});
  }