equal
deleted
inserted
replaced
32 List(Some(300.222351), Some(42.357094)), |
32 List(Some(300.222351), Some(42.357094)), |
33 List(Some(330.555054), Some(52.852215))) |
33 List(Some(330.555054), Some(52.852215))) |
34 |
34 |
35 |
35 |
36 assert(CW6c.yearly_yield(CW6c.get_deltas(urban_prices), 100, 0) == 125) |
36 assert(CW6c.yearly_yield(CW6c.get_deltas(urban_prices), 100, 0) == 125) |
|
37 |
|
38 |
|
39 val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "AMZN", "BIDU") |
|
40 val rstate_portfolio = List("PLD", "PSA", "AMT", "AIV", "AVB", "BXP", "CCI", |
|
41 "DLR", "EQIX", "EQR", "ESS", "EXR", "FRT", "GGP", "HCP") |
|
42 |
|
43 |
|
44 assert(CW6c.investment(rstate_portfolio, 1978 to 2017, 100) == 30839) |
|
45 assert(CW6c.investment(blchip_portfolio, 1978 to 2017, 100) == 349597) |