Fixed bug in test example
authorMichael Jackson <mjj@ssi-dev.epcc.ed.ac.uk>
Wed, 10 Apr 2013 15:39:55 +0000 (16:39 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 1 Nov 2013 16:06:03 +0000 (09:06 -0700)
testing/Writing.md

index c62098e30fafe9a3ec26c1c2c871057e61a60545..59182dc19ace3d84b2202f7c928a56a33fefa91e 100755 (executable)
@@ -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['GA'] + NUCLEOTIDES['A']
+        assert calculate_weight('GA') == NUCLEOTIDES['G'] + NUCLEOTIDES['A']
 
     test_a()
     test_g()