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 <urbanc@in.tum.de>
Sun, 09 Dec 2018 01:36:49 +0000
changeset 243
9bb36426c781
parent 199
54befaf23648
child 281
87b9e3e2c1a7
permissions
-rw-r--r--
updated
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
147
72f7dd1a3754
updated
Christian Urban <urbanc@in.tum.de>
parents:
144
diff
changeset
1
125
dcaab8068baa
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
2
199
54befaf23648
updated
Christian Urban <urbanc@in.tum.de>
parents:
147
diff
changeset
3
assert(collatz(1) == 0)
125
dcaab8068baa
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
4
199
54befaf23648
updated
Christian Urban <urbanc@in.tum.de>
parents:
147
diff
changeset
5
assert(collatz(6) == 8)
125
dcaab8068baa
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
6
199
54befaf23648
updated
Christian Urban <urbanc@in.tum.de>
parents:
147
diff
changeset
7
assert(collatz(9) == 19)
125
dcaab8068baa
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
8
dcaab8068baa
updated
Christian Urban <urbanc@in.tum.de>
parents:
diff
changeset
9