コード例 #1
0
 public void testmortgageProperty()
 {
     Board.access().ClearBoard();
      testplayer.setBalance(500);
      Board.access().addProperty(resFactory.create("Te Puke, Giant Kiwifruit", 60, 6, 50));
      Board.access().getProperty(0).setOwner(ref testplayer);
      Property theProp = new Property();
      theProp.availableForPurchase();
      theProp.mortgageProperty();
      theProp.getMortgageValue();
      theProp.check_mortgaged_status();
 }