marking1/alcohol_test1.scala
author Christian Urban <urbanc@in.tum.de>
Mon, 11 Jun 2018 14:59:09 +0100
changeset 180 35b4dc785a40
parent 158 94b11ac19b41
permissions -rw-r--r--
test


val url_alcohol_test = 
  "https://raw.githubusercontent.com/fivethirtyeight/data/master/alcohol-consumption/drinks.csv"

val file_population_test = 
  "population.csv"

assert(CW6b.get_csv_page(url_alcohol_test).size == 194)

assert(CW6b.get_csv_file(file_population_test).size == 216)