Mercurial
Mercurial
>
hg
>
pep-material
/ annotate
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
|
file
|
latest
|
revisions
| annotate |
diff
|
comparison
|
raw
|
help
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
testing1/collatz_test1.scala
author
Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 06 Aug 2019 00:12:34 +0100
changeset 270
38e13601cb1b
parent 199
2e13dedd922e
child 281
32dfd2ca577b
permissions
-rw-r--r--
updated
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
147
3e5d8657302f
updated
Christian Urban <urbanc@in.tum.de>
parents:
144
diff
changeset
1
125
b91ad3761732
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
2
199
2e13dedd922e
updated
Christian Urban <urbanc@in.tum.de>
parents:
147
diff
changeset
3
assert(collatz(1) == 0)
125
b91ad3761732
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
4
199
2e13dedd922e
updated
Christian Urban <urbanc@in.tum.de>
parents:
147
diff
changeset
5
assert(collatz(6) == 8)
125
b91ad3761732
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
6
199
2e13dedd922e
updated
Christian Urban <urbanc@in.tum.de>
parents:
147
diff
changeset
7
assert(collatz(9) == 19)
125
b91ad3761732
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
8
b91ad3761732
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
9