main_testing2/wordle_test7.scala
changeset 463 0315d9983cd0
parent 437 d4d4669ad054
child 475 59e005dcf163
equal deleted inserted replaced
462:34feeb53c0ba 463:0315d9983cd0
    11 
    11 
    12 
    12 
    13 //val urban_wordle_url = """https://nms.kcl.ac.uk/christian.urban/wordle.txt"""
    13 //val urban_wordle_url = """https://nms.kcl.ac.uk/christian.urban/wordle.txt"""
    14 //val urban_secrets = get_wordle_list(urban_wordle_url)
    14 //val urban_secrets = get_wordle_list(urban_wordle_url)
    15 
    15 
    16 /*
       
    17 assert(ranked_evil(urban_secrets, "abbey") == List("whizz"))
    16 assert(ranked_evil(urban_secrets, "abbey") == List("whizz"))
    18 assert(ranked_evil(urban_secrets, "afear") == List("buzzy"))
    17 assert(ranked_evil(urban_secrets, "afear") == List("buzzy"))
    19 assert(ranked_evil(urban_secrets, "zincy") == List("jugum"))
    18 assert(ranked_evil(urban_secrets, "zincy") == List("jugum"))
    20 assert(ranked_evil(urban_secrets, "zippy") == List("chuff"))
    19 assert(ranked_evil(urban_secrets, "zippy") == List("chuff"))
    21 */
       
    22 
    20 
    23 assert(ranked_evil(urban_secrets, "beats") == List("orlon") ||
       
    24        ranked_evil(urban_secrets, "beats") == List("fuzzy"))
       
    25 
    21 
    26 assert(ranked_evil(urban_secrets, "vitae") == List("sools", "solos") ||
    22 assert(ranked_evil(urban_secrets, "beats") == List("fuzzy"))
    27        ranked_evil(urban_secrets, "vitae") == List("fuzzy"))
    23 assert(ranked_evil(urban_secrets, "vitae") == List("fuzzy"))
    28 
    24 assert(ranked_evil(urban_secrets, "bento") == List("fuzzy"))
    29 assert(ranked_evil(urban_secrets, "bento") == List("assai") ||
    25 assert(ranked_evil(urban_secrets, "belts") == List("fuzzy"))
    30        ranked_evil(urban_secrets, "bento") == List("fuzzy"))
       
    31 
       
    32 assert(ranked_evil(urban_secrets, "belts") == List("anana") ||
       
    33        ranked_evil(urban_secrets, "belts") == List("fuzzy"))
       
    34