main_marking2/danube_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 09 Nov 2022 18:40:57 +0000
changeset 437 d4d4669ad054
parent 424 daf561a83ba6
permissions -rw-r--r--
updated import
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
389
4113d4d8cf62 updated marking 2
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
424
Christian Urban <christian.urban@kcl.ac.uk>
parents: 389
diff changeset
     2
import M2._
389
4113d4d8cf62 updated marking 2
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
4113d4d8cf62 updated marking 2
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
val urban_mov_url = """https://nms.kcl.ac.uk/christian.urban/movies.csv"""
4113d4d8cf62 updated marking 2
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
//val urban_mov_url = """http://localhost:8000/movies.csv"""
4113d4d8cf62 updated marking 2
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
4113d4d8cf62 updated marking 2
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7
assert(get_csv_url(urban_mov_url).length == 9742)
4113d4d8cf62 updated marking 2
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     8