| author | Christian Urban <christian.urban@kcl.ac.uk> | 
| Fri, 26 Apr 2024 17:35:36 +0100 | |
| changeset 483 | a2c4c6bf319d | 
| 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  | 
}  |