From: Anthony Scopatz Date: Tue, 3 Apr 2012 04:13:02 +0000 (-0500) Subject: Trying to get image right. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d2a423de0b9b88e0fbb3c07a7c4a0c31a76daa8e;p=swc-testing-nose.git Trying to get image right. --- diff --git a/5-Testing/Readme.md b/5-Testing/Readme.md index 4fa0ed6..7a4c7d2 100644 --- a/5-Testing/Readme.md +++ b/5-Testing/Readme.md @@ -10,9 +10,7 @@ Documentation](https://github.com/thehackerwithin/UofCSCBC2012/tree/master/6-Doc **Based on materials by Katy Huff, Rachel Slaybaugh, and Anthony Scopatz** -![image](http://s3.amazonaws.com/inscight/img/blog/evo_sol1.png) -[http://memecreator.net/the-most-interesting-man-in-the-world/showimage.php/169/I-don%27t-always-test-my-code-But-when-I-do-I-do-it-in-production.jpg](http://memecreator.net/the-most-interesting-man-in-the-world/showimage.php/169/I-don't-always-test-my-code-But-when-I-do-I-do-it-in-production.jpg) - +![image](test_prod.jpg) # What is testing? Software testing is a process by which one or more expected behaviors @@ -517,3 +515,7 @@ def fib(n): And thus - finally - we have a robust function together with working tests! + +# Exercise + +![image](http://s3.amazonaws.com/inscight/img/blog/evo_sol1.png) diff --git a/5-Testing/Readme.rst b/5-Testing/Readme.rst index 2d1424e..9e06959 100644 --- a/5-Testing/Readme.rst +++ b/5-Testing/Readme.rst @@ -9,9 +9,7 @@ **Based on materials by Katy Huff, Rachel Slaybaugh, and Anthony Scopatz** -.. image:: http://s3.amazonaws.com/inscight/img/blog/evo_sol1.png - -http://memecreator.net/the-most-interesting-man-in-the-world/showimage.php/169/I-don%27t-always-test-my-code-But-when-I-do-I-do-it-in-production.jpg +.. image:: test_prod.jpg What is testing? @@ -496,3 +494,7 @@ This means that it is time to add the appropriate case to the funtion itself: return fib(n - 1) + fib(n - 2) And thus - finally - we have a robust function together with working tests! + +Exercise +======== +.. image:: http://s3.amazonaws.com/inscight/img/blog/evo_sol1.png diff --git a/5-Testing/test_prod.jpg b/5-Testing/test_prod.jpg new file mode 100644 index 0000000..6970075 Binary files /dev/null and b/5-Testing/test_prod.jpg differ