marking1/alcohol_test3.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 06 Aug 2019 00:12:34 +0100
changeset 270 b9eaa5cdec4a
parent 158 94b11ac19b41
permissions -rw-r--r--
updated



assert(CW6b.sorted_country_consumption().size == 177)

assert(CW6b.sorted_country_consumption()(9) == ("United Kingdom", 671976864))

assert(CW6b.percentage(164) == (28771558364L, 28771558364L, 100.0))