testing1/alcohol_test3.scala
author Christian Urban <urbanc@in.tum.de>
Tue, 05 Dec 2017 00:34:14 +0000
changeset 162 6d25ccbb3cf2
parent 144 716042628398
permissions -rw-r--r--
marking 2
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))