projects
/
swc-testing-nose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab5ee35
)
added small exercise.
author
Katy Huff
<katyhuff@gmail.com>
Sun, 13 Jan 2013 18:04:15 +0000
(12:04 -0600)
committer
W. Trevor King
<wking@tremily.us>
Fri, 1 Nov 2013 04:01:02 +0000
(21:01 -0700)
python/testing/Readme.md
patch
|
blob
|
history
diff --git
a/python/testing/Readme.md
b/python/testing/Readme.md
index 70d355430fa318d9e9327d99b42bc0229c0fc697..1dbfdbd516515c42578b56ce668989bb2c781c47 100644
(file)
--- a/
python/testing/Readme.md
+++ b/
python/testing/Readme.md
@@
-512,6
+512,14
@@
def fib(n):
return fib(n - 1) + fib(n - 2)
```
+# Quality Assurance Exercise
+
+Can you think of other tests to make for the fibonacci function? I promise there
+are at least two.
+
+Implement one new test in test_fib.py, run nosetests, and if it fails, implement
+a more robust function for that case.
+
And thus - finally - we have a robust function together with working
tests!