marking1/alcohol_test3.scala
author Christian Urban <urbanc@in.tum.de>
Wed, 07 Nov 2018 12:08:01 +0000
changeset 198 d59c7995bcb2
parent 158 94b11ac19b41
permissions -rw-r--r--
updated handout



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

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

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