main_testing2/wordle_test1.scala
changeset 435 fda7c39f3b6a
child 437 d4d4669ad054
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main_testing2/wordle_test1.scala	Wed Nov 09 16:44:16 2022 +0000
@@ -0,0 +1,11 @@
+
+import Resit._
+
+val urban_wordle_url = """https://nms.kcl.ac.uk/christian.urban/wordle.txt"""
+val urban_secrets = get_wordle_list(urban_wordle_url)
+
+assert(urban_secrets.length == 12972)
+assert(urban_secrets.filter(_.length != 5) == Nil)
+
+assert(get_wordle_list(urban_wordle_url ++ "2") == Nil)
+