@Test
  public void testGetProfit() throws Exception {
    int invest = 20;
    InvestTable table = new InvestTable();
    for (int i = 1; i <= invest; i++) {
      int profit = table.getProfit(i);
      //System.out.println(i + ","+profit);
      assertTrue(profit >= i);
    }
  }