pre_marking2/docdiff_test1.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 08 Nov 2021 01:03:09 +0000
changeset 401 9471c3b7ea02
parent 382 1bd800376e0c
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"))