From: Mike Jackson Date: Wed, 3 Apr 2013 09:24:11 +0000 (-0700) Subject: Added prints to first test batch X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4302ac66a86838a8b4a77a13087cd89e6d87a0b3;p=swc-testing-nose.git Added prints to first test batch --- diff --git a/testing/Writing.md b/testing/Writing.md index f757b46..e826ce4 100755 --- a/testing/Writing.md +++ b/testing/Writing.md @@ -54,9 +54,9 @@ which raises a new exception, with a more meaningful message. If writing a compl Runtime tests don't test our functions behaviour or whether it's implemented correctly. So, we can add some tests, - print calculate_weight('A') - print calculate_weight('G') - print calculate_weight('GA') + print "A is ", calculate_weight('A') + print "G is ", calculate_weight('G') + print "GA is ", calculate_weight('GA') But we'd have to visually inspect the results to see they are as expected. So, let's have the computer do that for us and make our lives easier, and save us time in checking,