From 0284454f234b39d9bbacb1b0ef46327f934f84d1 Mon Sep 17 00:00:00 2001 From: Katy Huff Date: Sun, 13 Jan 2013 12:04:15 -0600 Subject: [PATCH] added small exercise. --- python/testing/Readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/python/testing/Readme.md b/python/testing/Readme.md index 70d3554..1dbfdbd 100644 --- 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! -- 2.26.2