marking1/alcohol_test3.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 15 May 2018 01:14:07 +0100
changeset 174 90e0b1cc460b
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))