| author | Christian Urban <christian.urban@kcl.ac.uk> |
| Mon, 25 Dec 2023 01:10:55 +0100 | |
| changeset 479 | 78cb5cdda3c3 |
| 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 |
} |