main_testing2/wordle_test4.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 26 Apr 2024 17:36:41 +0100
changeset 487 efad9725dfd8
parent 475 59e005dcf163
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
435
fda7c39f3b6a updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
475
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 437
diff changeset
     2
def urbanmain() = {
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 437
diff changeset
     3
  import M2._
435
fda7c39f3b6a updated wordle testing
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
475
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 437
diff changeset
     5
  assert(iscore("chess", "caves") == 21)
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 437
diff changeset
     6
  assert(iscore("chess", "swiss") == 20)
59e005dcf163 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 437
diff changeset
     7
}