changeset 403 | ffce7b61b446 |
parent 402 | de59aa20a1dc |
child 404 | bf20a9fa5c29 |
--- a/main_testing2/danube_test7.scala Mon Nov 08 01:16:13 2021 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ - -import CW7b._ - -val urban_recs = - Map("1" -> List("b", "a"), - "2" -> List("y", "x"), - "3" -> List("a", "c")) - -val urban_names = Map("a" -> "A", "b" -> "B", "c" -> "C", "x" -> "X", "y" -> "Y") - -assert(most_recommended(urban_recs, urban_names).toSet == - Set(("A",2), ("B",1), ("C",1), ("X",1), ("Y",1))) -