130
|
1 |
//println("starting test now")
|
|
2 |
|
|
3 |
/*
|
|
4 |
import scala.concurrent._
|
|
5 |
import scala.concurrent.duration._
|
|
6 |
import ExecutionContext.Implicits.global
|
|
7 |
import scala.language.postfixOps
|
|
8 |
|
|
9 |
val urban_prices = List(List(Some(71.539941), None),
|
|
10 |
List(Some(76.974614), None),
|
|
11 |
List(Some(65.226685), Some(6.35)),
|
|
12 |
List(Some(78.354649), Some(12.241)),
|
|
13 |
List(Some(85.517645), Some(38.188)))
|
|
14 |
|
|
15 |
|
|
16 |
val urban_prices = List(List(Some(311.349976), Some(27.505054)),
|
|
17 |
List(Some(300.222351), Some(42.357094)),
|
|
18 |
List(Some(330.555054), Some(52.852215)))
|
|
19 |
|
199
|
20 |
assert(get_deltas(urban_prices) == List(List(Some(-0.03573992567129673), Some(0.5399749442411563)),
|
|
21 |
List(Some(0.10103412653643493), Some(0.2477771728154912))))
|