main_testing2/wordle_test3a.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 09 Nov 2022 16:44:16 +0000
changeset 432 87e487ccbd7c
child 434 1eb11d787af7
permissions -rw-r--r--
updated wordle testing
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
432
87e487ccbd7c updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
87e487ccbd7c updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
import Resit._
87e487ccbd7c updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
87e487ccbd7c updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
assert(pool("chess", "caves").toSet == Set('h', 'e', 's'))
87e487ccbd7c updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
assert(pool("chess", "swiss").toSet == Set('c', 'h', 'e'))
87e487ccbd7c updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
87e487ccbd7c updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7