main_marking2/danube_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 02 Dec 2022 12:55:59 +0000
changeset 451 b183e0dfb7ec
parent 424 daf561a83ba6
permissions -rw-r--r--
updated
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