| author | Christian Urban <christian.urban@kcl.ac.uk> | 
| Fri, 12 Sep 2025 10:36:07 +0100 | |
| changeset 492 | 17e6f46260bd | 
| parent 472 | fbff6f601370 | 
| permissions | -rw-r--r-- | 
| 432 
87e487ccbd7c
updated wordle testing
 Christian Urban <christian.urban@kcl.ac.uk> parents: diff
changeset | 1 | |
| 472 | 2 | def urbanmain() = {
 | 
| 3 | import M2._ | |
| 432 
87e487ccbd7c
updated wordle testing
 Christian Urban <christian.urban@kcl.ac.uk> parents: diff
changeset | 4 | |
| 472 | 5 | val urban_wordle_url = """https://nms.kcl.ac.uk/christian.urban/wordle.txt""" | 
| 6 | val urban_secrets = get_wordle_list(urban_wordle_url) | |
| 432 
87e487ccbd7c
updated wordle testing
 Christian Urban <christian.urban@kcl.ac.uk> parents: diff
changeset | 7 | |
| 472 | 8 | assert(urban_secrets.length == 12972) | 
| 9 | assert(urban_secrets.filter(_.length != 5) == Nil) | |
| 432 
87e487ccbd7c
updated wordle testing
 Christian Urban <christian.urban@kcl.ac.uk> parents: diff
changeset | 10 | |
| 472 | 11 | assert(get_wordle_list(urban_wordle_url ++ "2") == Nil) | 
| 12 | } |