public int ConstructorInitializesPriceCorrectly(int price) { int someSpaceNumber = 5; int someRent = 5; PropertyGroup someGroup = PropertyGroup.DarkGreen; location = new RentableLocation(someSpaceNumber, someRent, price, someGroup); return location.Price; }
public int ConstructorInitializesRentCorrectly(int rent) { int someSpaceNumber = 5; int somePrice = 5; PropertyGroup someGroup = PropertyGroup.DarkGreen; location = new RentableLocation(someSpaceNumber, rent, somePrice, someGroup); return location.Rent; }