testing/alcohol_test3.scala
author Christian Urban <urbanc@in.tum.de>
Fri, 10 Nov 2017 01:02:52 +0000
changeset 141 822adb464c90
parent 128 166bb9b6b20a
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
128
166bb9b6b20a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
166bb9b6b20a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
166bb9b6b20a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
assert(CW6b.sorted_country_consumption().size == 177)
166bb9b6b20a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
166bb9b6b20a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
assert(CW6b.sorted_country_consumption()(9) == ("United Kingdom", 671976864))
166bb9b6b20a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
166bb9b6b20a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
assert(CW6b.percentage(164) == (28771558364L, 28771558364L, 100.0))