pre_marking2/docdiff_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 02 Dec 2020 01:15:14 +0000
changeset 382 1bd800376e0c
parent 283 marking2/docdiff_test1.scala@ef5f62bf5987
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
227
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
283
ef5f62bf5987 updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
     2
import CW7a._
227
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
assert(clean("ab a abc") == List("ab", "a", "abc"))
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
assert(clean("ab*a abc1") == List("ab", "a", "abc1"))