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:
63f36a4
)
Fixed bug in test example
author
Michael Jackson
<mjj@ssi-dev.epcc.ed.ac.uk>
Wed, 10 Apr 2013 15:39:55 +0000
(16:39 +0100)
committer
W. Trevor King
<wking@tremily.us>
Fri, 1 Nov 2013 16:06:03 +0000
(09:06 -0700)
testing/Writing.md
patch
|
blob
|
history
diff --git
a/testing/Writing.md
b/testing/Writing.md
index c62098e30fafe9a3ec26c1c2c871057e61a60545..59182dc19ace3d84b2202f7c928a56a33fefa91e 100755
(executable)
--- a/
testing/Writing.md
+++ b/
testing/Writing.md
@@
-79,7
+79,7
@@
But this isn't very modular, and modularity is a good design principle, so let's
def test_g():
assert calculate_weight('G') == NUCLEOTIDES['G']
def test_ga():
- assert calculate_weight('GA') == NUCLEOTIDES['G
A
'] + NUCLEOTIDES['A']
+ assert calculate_weight('GA') == NUCLEOTIDES['G'] + NUCLEOTIDES['A']
test_a()
test_g()