| author | Christian Urban <christian.urban@kcl.ac.uk> | 
| Thu, 02 Nov 2023 23:34:53 +0000 | |
| changeset 472 | fbff6f601370 | 
| parent 434 | 1eb11d787af7 | 
| 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  | 
}  |