From 4302ac66a86838a8b4a77a13087cd89e6d87a0b3 Mon Sep 17 00:00:00 2001 From: Mike Jackson Date: Wed, 3 Apr 2013 02:24:11 -0700 Subject: [PATCH] Added prints to first test batch --- testing/Writing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 2.26.2