marking1/collatz_test1.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 31 Oct 2019 10:50:05 +0000
changeset 297 eab44dbee855
parent 281 87b9e3e2c1a7
permissions -rw-r--r--
updated jars
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
158
94b11ac19b41 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
94b11ac19b41 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 267
diff changeset
     3
assert(CW6a.collatz(1) == 0)
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 267
diff changeset
     4
assert(CW6a.collatz(6) == 8)
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 267
diff changeset
     5
assert(CW6a.collatz(9) == 19)
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 267
diff changeset
     6
assert(CW6a.collatz(9000) == 47)
158
94b11ac19b41 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
281
87b9e3e2c1a7 updated
Christian Urban <urbanc@in.tum.de>
parents: 267
diff changeset
     8